Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="BuildingSystems_BuildingSystems_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.0015/0.0015, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001732/0.001732, allocations: 187.8 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002153/0.002152, allocations: 291 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9181/0.9181, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 92.67 kB / 0.5948 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1539, allocations: 86.98 MB / 0.6797 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003139/0.1571, allocations: 1.701 MB / 0.6814 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4747/0.6318, allocations: 149.4 MB / 0.8272 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.538e-05/0.6319, allocations: 1.062 kB / 0.8272 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.6321, allocations: 11.64 kB / 0.8273 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002005/0.6323, allocations: 37.95 kB / 0.8273 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.6326, allocations: 130.4 kB / 0.8274 GB, free: 492 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.6328, allocations: 118.6 kB / 0.8275 GB, free: 468 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.548e-05/0.6329, allocations: 32.86 kB / 0.8276 GB, free: 464 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001617/0.6345, allocations: 161.8 kB / 0.8277 GB, free: 448 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.584e-05/0.6346, allocations: 46.95 kB / 0.8278 GB, free: 436 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.6346, allocations: 6.781 kB / 0.8278 GB, free: 436 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003178/0.6349, allocations: 184.1 kB / 0.8279 GB, free: 420 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.557e-05/0.635, allocations: 24.91 kB / 0.828 GB, free: 416 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.664e-05/0.635, allocations: 45.38 kB / 0.828 GB, free: 400 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.6353, allocations: 193.4 kB / 0.8282 GB, free: 364 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.6353, allocations: 0 / 0.8282 GB, free: 364 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6353, allocations: 0 / 0.8282 GB, free: 364 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.6353, allocations: 1.062 kB / 0.8282 GB, free: 364 kB / 0.5606 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.0005403/0.6358, allocations: 444 kB / 0.8286 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.6359, allocations: 14.06 kB / 0.8286 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.359e-05/0.6359, allocations: 38.33 kB / 0.8287 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008678/0.6368, allocations: 82.28 kB / 0.8287 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.637, allocations: 202.8 kB / 0.8289 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.637, allocations: 7.031 kB / 0.8289 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.637, allocations: 9 kB / 0.829 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004004/0.6374, allocations: 135.6 kB / 0.8291 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.6375, allocations: 0 / 0.8291 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.6375, allocations: 5.156 kB / 0.8291 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.6375, allocations: 13.17 kB / 0.8291 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004921/0.638, allocations: 132.2 kB / 0.8292 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006706/0.6387, allocations: 418 kB / 0.8296 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000677/0.6394, allocations: 247.3 kB / 0.8299 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.6396, allocations: 81.84 kB / 0.8299 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.6396, allocations: 1.156 kB / 0.8299 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.6397, allocations: 39.09 kB / 0.83 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.6397, allocations: 0 / 0.83 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0007401/0.6404, allocations: 212.7 kB / 0.8302 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.6405, allocations: 52.5 kB / 0.8302 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.6406, allocations: 152.5 kB / 0.8304 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.6406, allocations: 26.77 kB / 0.8304 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.561e-05/0.6407, allocations: 108.4 kB / 0.8305 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.6407, allocations: 29.47 kB / 0.8305 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-05/0.6408, allocations: 23.45 kB / 0.8306 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.731e-05/0.6409, allocations: 332.8 kB / 0.8309 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/0.6411, allocations: 47.53 kB / 0.8309 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.6413, allocations: 87.64 kB / 0.831 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003897/0.6417, allocations: 113.7 kB / 0.8311 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.6417, allocations: 0 / 0.8311 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004771/0.6422, allocations: 167.7 kB / 0.8313 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.6422, allocations: 4.75 kB / 0.8313 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.6422, allocations: 1.562 kB / 0.8313 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.6423, allocations: 0 / 0.8313 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.6425, allocations: 29.8 kB / 0.8313 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.6425, allocations: 5.281 kB / 0.8313 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.6427, allocations: 20.83 kB / 0.8313 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.6427, allocations: 5.594 kB / 0.8313 GB, free: 14.41 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.6428, allocations: 122.7 kB / 0.8315 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.711e-05/0.6428, allocations: 8.406 kB / 0.8315 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.006e-05/0.6429, allocations: 18.66 kB / 0.8315 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.6429, allocations: 1.062 kB / 0.8315 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.6429, allocations: 1.969 kB / 0.8315 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.6429, allocations: 0 / 0.8315 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007954/0.6437, allocations: 467.4 kB / 0.8319 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.6437, allocations: 2.531 kB / 0.8319 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.6439, allocations: 25.64 kB / 0.832 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.6439, allocations: 3.156 kB / 0.832 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.6439, allocations: 0 / 0.832 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.6439, allocations: 5.094 kB / 0.832 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.644, allocations: 0 / 0.832 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004865/0.6444, allocations: 259.2 kB / 0.8322 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.854e-05/0.6445, allocations: 83.39 kB / 0.8323 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.6445, allocations: 3.422 kB / 0.8323 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.6447, allocations: 29.36 kB / 0.8323 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.544e-05/0.6448, allocations: 10.61 kB / 0.8323 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.6448, allocations: 5.312 kB / 0.8323 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.093e-05/0.6449, allocations: 114.4 kB / 0.8324 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6449, allocations: 1.406 kB / 0.8324 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002888/0.6452, allocations: 37.14 kB / 0.8325 GB, free: 13.64 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008191/0.646, allocations: 0.791 MB / 0.8333 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004695/0.6465, allocations: 138.6 kB / 0.8334 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6465, allocations: 3.938 kB / 0.8334 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.6467, allocations: 73.03 kB / 0.8335 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.6471, allocations: 36.78 kB / 0.8335 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/0.6496, allocations: 1.742 MB / 0.8352 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.6499, allocations: 0.6975 MB / 0.8359 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001797/0.6501, allocations: 35.92 kB / 0.8359 GB, free: 11 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.698e-05/0.6501, allocations: 30.55 kB / 0.8359 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.6501, allocations: 0 / 0.8359 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01377/0.6639, allocations: 3.159 MB / 0.839 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/0.6641, allocations: 221 kB / 0.8392 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/2.49, allocations: 0 / 0.8392 GB, free: 10.31 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)