Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.725/0.725, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 221.3 MB / 400.4 MB, free: 5.855 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 95.81 kB / 483.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.87e-05/3.88e-05, allocations: 3.562 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2026, allocations: 82.32 MB / 0.6405 GB, free: 7.734 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6331/0.8357, allocations: 112.2 MB / 0.7501 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/0.836, allocations: 77.88 kB / 0.7502 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.005538/0.8415, allocations: 1.802 MB / 0.752 GB, free: 27.49 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.202e-06/0.8416, allocations: 0 / 0.752 GB, free: 27.49 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.8416, allocations: 0 / 0.752 GB, free: 27.49 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000305/0.8419, allocations: 346.7 kB / 0.7523 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.842, allocations: 7.844 kB / 0.7523 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.826e-05/0.842, allocations: 40.23 kB / 0.7523 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000336/0.8423, allocations: 21.53 kB / 0.7524 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.8425, allocations: 173.9 kB / 0.7525 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.8425, allocations: 0 / 0.7525 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.8425, allocations: 0 / 0.7525 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.8426, allocations: 50.02 kB / 0.7526 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.8426, allocations: 0 / 0.7526 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.8427, allocations: 0 / 0.7526 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.8427, allocations: 3 kB / 0.7526 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.233e-05/0.8427, allocations: 13.88 kB / 0.7526 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.8429, allocations: 158.5 kB / 0.7527 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.805e-05/0.843, allocations: 39.27 kB / 0.7528 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.242e-05/0.843, allocations: 15.95 kB / 0.7528 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.8431, allocations: 0 / 0.7528 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.8431, allocations: 31.25 kB / 0.7528 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.904e-06/0.8431, allocations: 3.844 kB / 0.7528 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001595/0.8433, allocations: 47.45 kB / 0.7529 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.8433, allocations: 51.41 kB / 0.7529 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.965e-05/0.8434, allocations: 99.22 kB / 0.753 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.8434, allocations: 25.7 kB / 0.753 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.567e-05/0.8435, allocations: 84.17 kB / 0.7531 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.8435, allocations: 15.45 kB / 0.7531 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.8435, allocations: 0 / 0.7531 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.8436, allocations: 322 kB / 0.7534 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.409e-05/0.8437, allocations: 6.281 kB / 0.7534 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.744e-05/0.8437, allocations: 11.22 kB / 0.7535 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.73e-05/0.8437, allocations: 10.2 kB / 0.7535 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.8437, allocations: 0 / 0.7535 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.723e-05/0.8438, allocations: 51.95 kB / 0.7535 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.8439, allocations: 4.656 kB / 0.7535 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.8439, allocations: 3.328 kB / 0.7535 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.8439, allocations: 0 / 0.7535 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.844, allocations: 6.953 kB / 0.7535 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.844, allocations: 3.844 kB / 0.7535 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.618e-05/0.8441, allocations: 7.938 kB / 0.7535 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.8441, allocations: 0 / 0.7535 GB, free: 25.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.583e-05/0.8442, allocations: 112.8 kB / 0.7536 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.132e-05/0.8442, allocations: 6.609 kB / 0.7537 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.039e-05/0.8442, allocations: 3.125 kB / 0.7537 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.8443, allocations: 0 / 0.7537 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.8443, allocations: 3.781 kB / 0.7537 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.8443, allocations: 0 / 0.7537 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.938e-05/0.8444, allocations: 156.3 kB / 0.7538 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.8444, allocations: 0 / 0.7538 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.993e-05/0.8445, allocations: 11.2 kB / 0.7538 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.8445, allocations: 0 / 0.7538 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.8445, allocations: 3.375 kB / 0.7538 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.8445, allocations: 3.844 kB / 0.7538 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.8445, allocations: 0 / 0.7538 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.8446, allocations: 72.62 kB / 0.7539 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.555e-05/0.8447, allocations: 90.28 kB / 0.754 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.8447, allocations: 7.312 kB / 0.754 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.557e-05/0.8448, allocations: 4.031 kB / 0.754 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.035e-05/0.8448, allocations: 3.844 kB / 0.754 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.8448, allocations: 0 / 0.754 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.94e-05/0.8448, allocations: 86.58 kB / 0.7541 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8448, allocations: 0 / 0.7541 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002035/0.8451, allocations: 11.53 kB / 0.7541 GB, free: 25.34 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004502/0.8455, allocations: 0.6306 MB / 0.7547 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.044e-05/0.8456, allocations: 22.31 kB / 0.7547 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.8456, allocations: 7.875 kB / 0.7547 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.202e-05/0.8457, allocations: 14.19 kB / 0.7547 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.8458, allocations: 5.703 kB / 0.7548 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003078/0.8461, allocations: 97.09 kB / 0.7548 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.8464, allocations: 0.6761 MB / 0.7555 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 8.564e-05/0.8465, allocations: 7.844 kB / 0.7555 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.8465, allocations: 10.53 kB / 0.7555 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.8465, allocations: 3.844 kB / 0.7555 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01336/0.8599, allocations: 1.336 MB / 0.7568 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001751/0.8601, allocations: 172.4 kB / 0.757 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.481/2.341, allocations: 3.938 kB / 0.757 GB, free: 23.52 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)