Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.667/2.667, allocations: 409.4 MB / 0.684 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003513, allocations: 11.94 kB / 0.8378 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7978/0.7982, allocations: 146.8 MB / 0.9811 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001799/0.8, allocations: 1.327 MB / 0.9824 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1789/0.979, allocations: 137.7 MB / 1.117 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.9791, allocations: 0 / 1.117 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.9793, allocations: 19.86 kB / 1.117 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0002055/0.9795, allocations: 35.78 kB / 1.117 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003141/0.9798, allocations: 115.6 kB / 1.117 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.9799, allocations: 107.6 kB / 1.117 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.9801, allocations: 27.62 kB / 1.117 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003231/0.9804, allocations: 123.7 kB / 1.117 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 6.374e-05/0.9805, allocations: 35.84 kB / 1.117 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.9805, allocations: 4 kB / 1.117 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003466/0.9808, allocations: 171.6 kB / 1.117 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 3.534e-05/0.9809, allocations: 15.98 kB / 1.117 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 3.853e-05/0.9809, allocations: 41.64 kB / 1.118 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.9811, allocations: 135.7 kB / 1.118 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.9811, allocations: 0 / 1.118 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9812, allocations: 0 / 1.118 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.972e-05/0.9812, allocations: 0 / 1.118 GB, free: 10.07 MB / 0.8731 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.0005669/0.9817, allocations: 438.9 kB / 1.118 GB, free: 9.59 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.9818, allocations: 8.031 kB / 1.118 GB, free: 9.582 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.745e-05/0.9818, allocations: 42.55 kB / 1.118 GB, free: 9.531 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008199/0.9827, allocations: 83.66 kB / 1.118 GB, free: 9.449 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.9829, allocations: 207.7 kB / 1.118 GB, free: 9.207 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.9829, allocations: 4 kB / 1.118 GB, free: 9.203 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.9829, allocations: 8 kB / 1.118 GB, free: 9.195 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000399/0.9833, allocations: 153.4 kB / 1.119 GB, free: 9.039 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.9834, allocations: 0 / 1.119 GB, free: 9.039 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.9834, allocations: 4 kB / 1.119 GB, free: 9.035 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.9834, allocations: 0 / 1.119 GB, free: 9.035 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004961/0.9839, allocations: 161.2 kB / 1.119 GB, free: 8.879 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006964/0.9846, allocations: 412.3 kB / 1.119 GB, free: 8.426 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006857/0.9853, allocations: 271.6 kB / 1.119 GB, free: 8.133 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/0.9855, allocations: 88.8 kB / 1.119 GB, free: 8.043 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.9856, allocations: 8 kB / 1.119 GB, free: 8.035 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.9856, allocations: 34.55 kB / 1.12 GB, free: 7.992 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.9856, allocations: 0 / 1.12 GB, free: 7.992 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.0007369/0.9864, allocations: 249.3 kB / 1.12 GB, free: 7.742 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.9864, allocations: 51.41 kB / 1.12 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.9865, allocations: 148.7 kB / 1.12 GB, free: 7.527 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.9866, allocations: 29.7 kB / 1.12 GB, free: 7.492 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.116e-05/0.9866, allocations: 104.3 kB / 1.12 GB, free: 7.387 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.9867, allocations: 27.64 kB / 1.12 GB, free: 7.359 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.185e-05/0.9867, allocations: 4 kB / 1.12 GB, free: 7.355 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.9868, allocations: 322.8 kB / 1.12 GB, free: 7.031 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/0.987, allocations: 63.94 kB / 1.12 GB, free: 6.969 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.9873, allocations: 90.52 kB / 1.121 GB, free: 6.871 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/0.9875, allocations: 67.98 kB / 1.121 GB, free: 6.805 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.9875, allocations: 4 kB / 1.121 GB, free: 6.801 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004574/0.9879, allocations: 185.4 kB / 1.121 GB, free: 6.613 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.988, allocations: 7.984 kB / 1.121 GB, free: 6.605 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.988, allocations: 0 / 1.121 GB, free: 6.605 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.988, allocations: 4 kB / 1.121 GB, free: 6.602 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.9882, allocations: 35.97 kB / 1.121 GB, free: 6.566 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.9882, allocations: 0 / 1.121 GB, free: 6.566 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.9884, allocations: 15.98 kB / 1.121 GB, free: 6.551 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.9884, allocations: 15.92 kB / 1.121 GB, free: 6.535 MB / 0.8731 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 () * Number of clocked 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 8.941e-05/0.9885, allocations: 113.8 kB / 1.121 GB, free: 6.414 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.744e-05/0.9885, allocations: 19.77 kB / 1.121 GB, free: 6.395 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.732e-05/0.9886, allocations: 16.72 kB / 1.121 GB, free: 6.375 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.9886, allocations: 0 / 1.121 GB, free: 6.375 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.9886, allocations: 0 / 1.121 GB, free: 6.375 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.9886, allocations: 7.984 kB / 1.121 GB, free: 6.367 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000794/0.9894, allocations: 482.3 kB / 1.121 GB, free: 5.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.9894, allocations: 0 / 1.121 GB, free: 5.84 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.9896, allocations: 35.95 kB / 1.122 GB, free: 5.805 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.9896, allocations: 0 / 1.122 GB, free: 5.805 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.9897, allocations: 8 kB / 1.122 GB, free: 5.797 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.9897, allocations: 0 / 1.122 GB, free: 5.797 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.9897, allocations: 0 / 1.122 GB, free: 5.797 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004986/0.9902, allocations: 287.1 kB / 1.122 GB, free: 5.5 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 4.594e-05/0.9902, allocations: 89 kB / 1.122 GB, free: 5.395 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.9903, allocations: 4 kB / 1.122 GB, free: 5.391 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.9904, allocations: 19.97 kB / 1.122 GB, free: 5.371 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.9905, allocations: 8 kB / 1.122 GB, free: 5.363 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.9905, allocations: 7.984 kB / 1.122 GB, free: 5.355 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 7.16e-05/0.9906, allocations: 108.9 kB / 1.122 GB, free: 5.25 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9906, allocations: 0 / 1.122 GB, free: 5.25 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002642/0.9909, allocations: 27.98 kB / 1.122 GB, free: 5.223 MB / 0.8731 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 () * Number of clocked 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.0008583/0.9917, allocations: 0.8378 MB / 1.123 GB, free: 4.359 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004735/0.9922, allocations: 147.9 kB / 1.123 GB, free: 4.215 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.9922, allocations: 0 / 1.123 GB, free: 4.215 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.9924, allocations: 83.88 kB / 1.123 GB, free: 4.133 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.9928, allocations: 23.98 kB / 1.123 GB, free: 4.109 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.9946, allocations: 0.8243 MB / 1.124 GB, free: 3.242 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.9949, allocations: 0.7043 MB / 1.125 GB, free: 2.512 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001594/0.995, allocations: 20.42 kB / 1.125 GB, free: 2.492 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.425e-05/0.9951, allocations: 27.42 kB / 1.125 GB, free: 2.465 MB / 0.8731 GB Notification: Performance of SimCode: time 2.81e-07/0.9951, allocations: 0 / 1.125 GB, free: 2.465 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01525/1.01, allocations: 2.987 MB / 1.128 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/1.011, allocations: 214.9 kB / 1.128 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.904/2.915, allocations: 0 / 1.128 GB, free: 15.43 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat does not exist to compare? outputFormat=mat