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.00608/0.00608, allocations: 100.7 kB / 15.73 MB, free: 6.066 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.002074/0.002074, allocations: 195.7 kB / 16.67 MB, free: 5.969 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.508/1.508, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002518/0.002518, allocations: 285.5 kB / 290.8 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.039/1.039, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003079/0.00308, allocations: 99.84 kB / 0.681 GB, free: 7.496 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.533/0.5361, allocations: 86.97 MB / 0.7659 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002878/0.5391, allocations: 1.64 MB / 0.7675 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1893/0.7284, allocations: 151.6 MB / 0.9155 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.7285, allocations: 0 / 0.9155 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0001395/0.7287, allocations: 19.8 kB / 0.9155 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0002524/0.729, allocations: 51.64 kB / 0.9156 GB, free: 10.01 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004393/0.7294, allocations: 139.4 kB / 0.9157 GB, free: 9.871 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.7296, allocations: 123.6 kB / 0.9158 GB, free: 9.75 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.7297, allocations: 33.38 kB / 0.9159 GB, free: 9.719 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001239/0.731, allocations: 153.8 kB / 0.916 GB, free: 9.59 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 8.897e-05/0.7311, allocations: 55.75 kB / 0.9161 GB, free: 9.535 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.7311, allocations: 8 kB / 0.9161 GB, free: 9.527 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003828/0.7315, allocations: 179.7 kB / 0.9162 GB, free: 9.352 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 4.842e-05/0.7315, allocations: 19.92 kB / 0.9163 GB, free: 9.332 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 5.81e-05/0.7316, allocations: 43.73 kB / 0.9163 GB, free: 9.289 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0003481/0.732, allocations: 188.6 kB / 0.9165 GB, free: 9.109 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.732, allocations: 4 kB / 0.9165 GB, free: 9.105 MB / 0.6856 GB Notification: Performance of FrontEnd: time 7.11e-07/0.732, allocations: 0 / 0.9165 GB, free: 9.105 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.732, allocations: 0 / 0.9165 GB, free: 9.105 MB / 0.6856 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.0006494/0.7326, allocations: 450.6 kB / 0.9169 GB, free: 8.617 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.7327, allocations: 12.03 kB / 0.9169 GB, free: 8.605 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.581e-05/0.7327, allocations: 38.73 kB / 0.917 GB, free: 8.559 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009341/0.7337, allocations: 83.8 kB / 0.917 GB, free: 8.477 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.7339, allocations: 213.5 kB / 0.9172 GB, free: 8.23 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.734, allocations: 8 kB / 0.9173 GB, free: 8.223 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.734, allocations: 4 kB / 0.9173 GB, free: 8.219 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004166/0.7344, allocations: 148.6 kB / 0.9174 GB, free: 8.07 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.7344, allocations: 0 / 0.9174 GB, free: 8.07 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/0.7345, allocations: 7.922 kB / 0.9174 GB, free: 8.062 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.7345, allocations: 4 kB / 0.9174 GB, free: 8.059 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005115/0.735, allocations: 139.9 kB / 0.9175 GB, free: 7.922 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007928/0.7358, allocations: 412.4 kB / 0.9179 GB, free: 7.469 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007106/0.7365, allocations: 247.7 kB / 0.9182 GB, free: 7.199 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/0.7367, allocations: 76.73 kB / 0.9182 GB, free: 7.121 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.7368, allocations: 0 / 0.9182 GB, free: 7.121 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.7368, allocations: 38.55 kB / 0.9183 GB, free: 7.074 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.7368, allocations: 4 kB / 0.9183 GB, free: 7.07 MB / 0.6856 GB Notification: Performance of matching and sorting (n=8): time 0.00079/0.7376, allocations: 209.5 kB / 0.9185 GB, free: 6.859 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.7377, allocations: 55.41 kB / 0.9185 GB, free: 6.793 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.7378, allocations: 141.3 kB / 0.9187 GB, free: 6.648 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.7379, allocations: 33.7 kB / 0.9187 GB, free: 6.609 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 9.296e-05/0.738, allocations: 108.2 kB / 0.9188 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/0.738, allocations: 27.8 kB / 0.9188 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.663e-05/0.7381, allocations: 17.72 kB / 0.9189 GB, free: 6.449 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.7382, allocations: 326.8 kB / 0.9192 GB, free: 6.121 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.7385, allocations: 59.88 kB / 0.9192 GB, free: 6.062 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.7387, allocations: 78.5 kB / 0.9193 GB, free: 5.977 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004094/0.7391, allocations: 116.8 kB / 0.9194 GB, free: 5.859 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.7391, allocations: 4 kB / 0.9194 GB, free: 5.855 MB / 0.6856 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005005/0.7396, allocations: 157.5 kB / 0.9196 GB, free: 5.695 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.7397, allocations: 8 kB / 0.9196 GB, free: 5.688 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.7397, allocations: 0 / 0.9196 GB, free: 5.688 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.7397, allocations: 0 / 0.9196 GB, free: 5.688 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.74, allocations: 31.91 kB / 0.9196 GB, free: 5.656 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.74, allocations: 0 / 0.9196 GB, free: 5.656 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.7401, allocations: 27.91 kB / 0.9196 GB, free: 5.629 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.7402, allocations: 7.938 kB / 0.9196 GB, free: 5.621 MB / 0.6856 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.0001177/0.7403, allocations: 117.8 kB / 0.9197 GB, free: 5.496 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.7403, allocations: 11.91 kB / 0.9198 GB, free: 5.484 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.832e-05/0.7404, allocations: 20.7 kB / 0.9198 GB, free: 5.465 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.7404, allocations: 0 / 0.9198 GB, free: 5.465 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.7404, allocations: 0 / 0.9198 GB, free: 5.465 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.7404, allocations: 0 / 0.9198 GB, free: 5.465 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009413/0.7414, allocations: 466.8 kB / 0.9202 GB, free: 4.953 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.7414, allocations: 0 / 0.9202 GB, free: 4.953 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/0.7416, allocations: 35.91 kB / 0.9203 GB, free: 4.918 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.7416, allocations: 0 / 0.9203 GB, free: 4.918 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.7416, allocations: 4 kB / 0.9203 GB, free: 4.914 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.7417, allocations: 7.938 kB / 0.9203 GB, free: 4.906 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.7417, allocations: 3.984 kB / 0.9203 GB, free: 4.902 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005399/0.7422, allocations: 263.4 kB / 0.9205 GB, free: 4.629 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-05/0.7423, allocations: 92.98 kB / 0.9206 GB, free: 4.52 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.7423, allocations: 0 / 0.9206 GB, free: 4.52 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.7425, allocations: 15.92 kB / 0.9206 GB, free: 4.504 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.042e-05/0.7426, allocations: 11.98 kB / 0.9206 GB, free: 4.492 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.7426, allocations: 0 / 0.9206 GB, free: 4.492 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 8.802e-05/0.7427, allocations: 113.5 kB / 0.9207 GB, free: 4.383 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7427, allocations: 0 / 0.9207 GB, free: 4.383 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003575/0.743, allocations: 32 kB / 0.9208 GB, free: 4.352 MB / 0.6856 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.0009608/0.744, allocations: 0.8021 MB / 0.9216 GB, free: 3.523 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005296/0.7445, allocations: 123.8 kB / 0.9217 GB, free: 3.402 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.7446, allocations: 0 / 0.9217 GB, free: 3.402 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002284/0.7448, allocations: 67.94 kB / 0.9217 GB, free: 3.336 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.7452, allocations: 36.41 kB / 0.9218 GB, free: 3.301 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00288/0.7481, allocations: 1.732 MB / 0.9235 GB, free: 1.488 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.7485, allocations: 0.7008 MB / 0.9242 GB, free: 0.7617 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001362/0.7487, allocations: 28.41 kB / 0.9242 GB, free: 0.7344 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.754e-05/0.7487, allocations: 35.42 kB / 0.9242 GB, free: 0.6992 MB / 0.6856 GB Notification: Performance of SimCode: time 6.81e-07/0.7488, allocations: 0 / 0.9242 GB, free: 0.6992 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02607/0.7748, allocations: 3.367 MB / 0.9275 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.299/9.074, allocations: 21.67 kB / 0.9275 GB, free: 13.48 MB / 0.7012 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)