Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",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.001191/0.001191, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7713/0.7713, allocations: 133.6 MB / 141.6 MB, free: 2.91 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 221.5 MB / 395.5 MB, free: 10.82 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009211/0.0009214, allocations: 109 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.39e-05/2.395e-05, allocations: 4 kB / 0.5535 GB, free: 8.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6934/0.6934, allocations: 82.31 MB / 0.6339 GB, free: 40.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.662/4.356, allocations: 1.689 GB / 2.323 GB, free: 48.03 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/4.356, allocations: 86.2 kB / 2.323 GB, free: 47.98 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4992/4.855, allocations: 63.68 MB / 2.385 GB, free: 245.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.323e-06/4.855, allocations: 0 / 2.385 GB, free: 245.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.163e-05/4.855, allocations: 2.625 kB / 2.385 GB, free: 245.8 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005211/4.856, allocations: 445.2 kB / 2.386 GB, free: 245.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/4.856, allocations: 8.625 kB / 2.386 GB, free: 245.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008322/4.857, allocations: 78.3 kB / 2.386 GB, free: 245.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/4.857, allocations: 205.9 kB / 2.386 GB, free: 245.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/4.857, allocations: 3.906 kB / 2.386 GB, free: 245.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/4.857, allocations: 5.375 kB / 2.386 GB, free: 245.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001621/4.857, allocations: 72.83 kB / 2.386 GB, free: 245.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/4.857, allocations: 91.12 kB / 2.386 GB, free: 245.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/4.857, allocations: 0 / 2.386 GB, free: 245.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/4.857, allocations: 2.281 kB / 2.386 GB, free: 245.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/4.857, allocations: 5.516 kB / 2.386 GB, free: 245.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006284/4.858, allocations: 383 kB / 2.386 GB, free: 244.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003117/4.858, allocations: 201.7 kB / 2.387 GB, free: 244.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.2e-05/4.859, allocations: 46.08 kB / 2.387 GB, free: 244.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/4.859, allocations: 1.094 kB / 2.387 GB, free: 244.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.437e-05/4.859, allocations: 38.53 kB / 2.387 GB, free: 244.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/4.859, allocations: 0 / 2.387 GB, free: 244.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0002377/4.859, allocations: 101.2 kB / 2.387 GB, free: 244.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/4.859, allocations: 52.41 kB / 2.387 GB, free: 244.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.424e-05/4.859, allocations: 119.3 kB / 2.387 GB, free: 244.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/4.859, allocations: 28.33 kB / 2.387 GB, free: 244.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.987e-05/4.859, allocations: 105.4 kB / 2.387 GB, free: 244.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/4.859, allocations: 21.25 kB / 2.387 GB, free: 244.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.318e-06/4.859, allocations: 0 / 2.387 GB, free: 244.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.05e-05/4.859, allocations: 318.9 kB / 2.387 GB, free: 244.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.194e-05/4.859, allocations: 27.67 kB / 2.387 GB, free: 244.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.51e-05/4.859, allocations: 48.2 kB / 2.387 GB, free: 244.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.338e-05/4.859, allocations: 35.23 kB / 2.387 GB, free: 244.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/4.859, allocations: 1.156 kB / 2.387 GB, free: 244.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001629/4.859, allocations: 99.59 kB / 2.388 GB, free: 244.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/4.86, allocations: 9.344 kB / 2.388 GB, free: 244.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/4.86, allocations: 0 / 2.388 GB, free: 244.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/4.86, allocations: 1.469 kB / 2.388 GB, free: 244.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/4.86, allocations: 41.48 kB / 2.388 GB, free: 244.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/4.86, allocations: 0 / 2.388 GB, free: 244.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/4.86, allocations: 24.31 kB / 2.388 GB, free: 244 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/4.86, allocations: 3.812 kB / 2.388 GB, free: 244 MB / 0.6823 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 (8): * Single equations (assignments): 8 * 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 5.488e-05/4.86, allocations: 105.9 kB / 2.388 GB, free: 243.9 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001667/4.86, allocations: 105.3 kB / 2.388 GB, free: 243.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/4.86, allocations: 8.375 kB / 2.388 GB, free: 243.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.315e-05/4.86, allocations: 15.28 kB / 2.388 GB, free: 243.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/4.86, allocations: 1.469 kB / 2.388 GB, free: 243.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/4.86, allocations: 3.703 kB / 2.388 GB, free: 243.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-05/4.86, allocations: 0 / 2.388 GB, free: 243.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003967/4.861, allocations: 384.3 kB / 2.388 GB, free: 243.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/4.861, allocations: 0 / 2.388 GB, free: 243.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/4.861, allocations: 35.09 kB / 2.388 GB, free: 243.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/4.861, allocations: 0 / 2.388 GB, free: 243.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/4.861, allocations: 1.156 kB / 2.388 GB, free: 243.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/4.861, allocations: 1.125 kB / 2.388 GB, free: 243.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/4.861, allocations: 0 / 2.388 GB, free: 243.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/4.861, allocations: 195 kB / 2.388 GB, free: 243.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.191e-05/4.861, allocations: 89.59 kB / 2.389 GB, free: 243.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/4.861, allocations: 3.562 kB / 2.389 GB, free: 243.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/4.861, allocations: 26.95 kB / 2.389 GB, free: 243.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/4.861, allocations: 5.844 kB / 2.389 GB, free: 243.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/4.862, allocations: 8.844 kB / 2.389 GB, free: 243.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.939e-05/4.862, allocations: 100.3 kB / 2.389 GB, free: 243.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.61e-07/4.862, allocations: 0 / 2.389 GB, free: 243.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003476/4.862, allocations: 62.22 kB / 2.389 GB, free: 243.3 MB / 0.6823 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 (8): * Single equations (assignments): 8 * 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.001338/4.863, allocations: 1.356 MB / 2.39 GB, free: 242.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00019/4.863, allocations: 68.47 kB / 2.39 GB, free: 242.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/4.863, allocations: 3.406 kB / 2.39 GB, free: 242.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.935e-05/4.864, allocations: 39.59 kB / 2.39 GB, free: 242.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/4.864, allocations: 29 kB / 2.39 GB, free: 242.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006064/4.864, allocations: 190.4 kB / 2.39 GB, free: 242.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/4.865, allocations: 0.6993 MB / 2.391 GB, free: 241.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001561/4.865, allocations: 34.97 kB / 2.391 GB, free: 241.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.468e-05/4.865, allocations: 31.36 kB / 2.391 GB, free: 241.8 MB / 0.6823 GB Notification: Performance of SimCode: time 9.72e-07/4.865, allocations: 0 / 2.391 GB, free: 241.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02539/4.89, allocations: 7.564 MB / 2.399 GB, free: 241.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001466/4.891, allocations: 144.8 kB / 2.399 GB, free: 241 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/6.727, allocations: 0 / 2.399 GB, free: 241 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)