Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.Functions.Examples.phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX",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.008661/0.008661, allocations: 100.7 kB / 15.73 MB, free: 6.016 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.001885/0.001885, allocations: 186 kB / 16.67 MB, free: 5.934 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.507/1.507, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002672/0.002672, allocations: 291.4 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.078/1.078, allocations: 169.3 MB / 0.4983 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002749/0.002749, allocations: 99.84 kB / 0.681 GB, free: 7.461 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4657/0.4684, allocations: 86.97 MB / 0.7659 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002379/0.4709, allocations: 1.276 MB / 0.7672 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001446/0.4723, allocations: 0.8281 MB / 0.768 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.931e-05/0.4724, allocations: 0 / 0.768 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.051e-05/0.4724, allocations: 0 / 0.768 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.671e-05/0.4725, allocations: 7.938 kB / 0.768 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005022/0.473, allocations: 127.4 kB / 0.7681 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.178e-05/0.4731, allocations: 23.92 kB / 0.7681 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.261e-05/0.4731, allocations: 3.984 kB / 0.7681 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.288e-05/0.4732, allocations: 16 kB / 0.7681 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.537e-05/0.4732, allocations: 15.91 kB / 0.7681 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.4732, allocations: 0 / 0.7681 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003239/0.4736, allocations: 167.7 kB / 0.7683 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.564e-05/0.4736, allocations: 4 kB / 0.7683 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.567e-05/0.4736, allocations: 11.92 kB / 0.7683 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.4739, allocations: 120.8 kB / 0.7684 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4739, allocations: 0 / 0.7684 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.293e-06/0.4739, allocations: 0 / 0.7684 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.4739, allocations: 0 / 0.7684 GB, free: 1.262 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005144/0.4744, allocations: 371.1 kB / 0.7688 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.4745, allocations: 11.97 kB / 0.7688 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.5e-05/0.4745, allocations: 38.75 kB / 0.7688 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.328e-05/0.4746, allocations: 0.9375 kB / 0.7688 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.4747, allocations: 176.3 kB / 0.769 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.471e-05/0.4748, allocations: 26.27 kB / 0.769 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.4748, allocations: 4.375 kB / 0.769 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.4749, allocations: 46 kB / 0.7691 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.475, allocations: 7.984 kB / 0.7691 GB, free: 496 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.475, allocations: 3.938 kB / 0.7691 GB, free: 492 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.475, allocations: 0 / 0.7691 GB, free: 492 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.62e-05/0.4751, allocations: 19.98 kB / 0.7691 GB, free: 472 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002111/0.4753, allocations: 157.7 kB / 0.7693 GB, free: 264 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.4755, allocations: 50.55 kB / 0.7693 GB, free: 204 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.366e-05/0.4756, allocations: 20.94 kB / 0.7693 GB, free: 180 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003324/0.4759, allocations: 178.2 kB / 0.7695 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.476, allocations: 38.5 kB / 0.7695 GB, free: 15.92 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.476, allocations: 0 / 0.7695 GB, free: 15.92 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0002642/0.4763, allocations: 65.67 kB / 0.7696 GB, free: 15.85 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.4763, allocations: 59.34 kB / 0.7697 GB, free: 15.78 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.916e-05/0.4764, allocations: 97.86 kB / 0.7698 GB, free: 15.67 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.4764, allocations: 25.7 kB / 0.7698 GB, free: 15.64 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.949e-05/0.4765, allocations: 84.12 kB / 0.7699 GB, free: 15.55 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.4765, allocations: 11.84 kB / 0.7699 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.4765, allocations: 17.72 kB / 0.7699 GB, free: 15.52 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.4767, allocations: 314.8 kB / 0.7702 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.04e-05/0.4767, allocations: 11.98 kB / 0.7702 GB, free: 15.19 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.667e-05/0.4768, allocations: 8 kB / 0.7702 GB, free: 15.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.235e-05/0.4769, allocations: 32.84 kB / 0.7702 GB, free: 15.15 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4769, allocations: 0 / 0.7702 GB, free: 15.15 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001312/0.477, allocations: 57.61 kB / 0.7703 GB, free: 15.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.4771, allocations: 11.94 kB / 0.7703 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.4771, allocations: 4 kB / 0.7703 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.4771, allocations: 0 / 0.7703 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.13e-05/0.4771, allocations: 4 kB / 0.7703 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.4772, allocations: 4 kB / 0.7703 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.165e-05/0.4772, allocations: 4 kB / 0.7703 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.4772, allocations: 3.984 kB / 0.7703 GB, free: 15.05 MB / 0.545 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 (4): * Single equations (assignments): 4 * 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 8.682e-05/0.4773, allocations: 113.8 kB / 0.7704 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.4773, allocations: 7.891 kB / 0.7704 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/0.4775, allocations: 73.61 kB / 0.7705 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.4775, allocations: 0 / 0.7705 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4775, allocations: 0 / 0.7705 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.4775, allocations: 7.938 kB / 0.7705 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.4777, allocations: 153.7 kB / 0.7707 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4777, allocations: 11.92 kB / 0.7707 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.829e-05/0.4777, allocations: 7.984 kB / 0.7707 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.4777, allocations: 3.938 kB / 0.7707 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.4778, allocations: 4 kB / 0.7707 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.4778, allocations: 0 / 0.7707 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4778, allocations: 0 / 0.7707 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.4779, allocations: 85.12 kB / 0.7708 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.526e-05/0.478, allocations: 88.98 kB / 0.7709 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.478, allocations: 0 / 0.7709 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.201e-05/0.4781, allocations: 4 kB / 0.7709 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.4781, allocations: 3.984 kB / 0.7709 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.4782, allocations: 7.938 kB / 0.7709 GB, free: 14.39 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.249e-05/0.4782, allocations: 79.28 kB / 0.7709 GB, free: 14.31 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.2e-07/0.4782, allocations: 0 / 0.7709 GB, free: 14.31 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003181/0.4785, allocations: 31.88 kB / 0.771 GB, free: 14.28 MB / 0.545 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 (4): * Single equations (assignments): 4 * 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.000642/0.4792, allocations: 0.6669 MB / 0.7716 GB, free: 13.58 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002268/0.4794, allocations: 27.92 kB / 0.7717 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4794, allocations: 0 / 0.7717 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.529e-05/0.4795, allocations: 15.98 kB / 0.7717 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.4798, allocations: 11.09 kB / 0.7717 GB, free: 13.53 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004776/0.4803, allocations: 164.7 kB / 0.7718 GB, free: 13.33 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.4806, allocations: 0.6768 MB / 0.7725 GB, free: 12.62 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.489e-05/0.4806, allocations: 8 kB / 0.7725 GB, free: 12.62 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.234e-05/0.4807, allocations: 15.38 kB / 0.7725 GB, free: 12.6 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.4807, allocations: 0 / 0.7725 GB, free: 12.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.5043, allocations: 1.966 MB / 0.7744 GB, free: 10.78 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.921/8.425, allocations: 8.062 kB / 0.7744 GB, free: 10.77 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)