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: translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001831/0.001831, allocations: 193.1 kB / 16.25 MB, free: 6.617 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.372/1.372, allocations: 222.9 MB / 239.9 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001989/0.001989, allocations: 283 kB / 290.4 MB, free: 2.043 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9193/0.9193, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 98.48 kB / 0.5947 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1668, allocations: 86.98 MB / 0.6796 GB, free: 1.031 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002922/0.1697, allocations: 1.696 MB / 0.6813 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4507/0.6204, allocations: 149.3 MB / 0.8271 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.6205, allocations: 5.219 kB / 0.8271 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.6207, allocations: 17.92 kB / 0.8271 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002178/0.6209, allocations: 41.42 kB / 0.8272 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003368/0.6213, allocations: 122.8 kB / 0.8273 GB, free: 488 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.6214, allocations: 124.4 kB / 0.8274 GB, free: 464 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.6215, allocations: 28.34 kB / 0.8274 GB, free: 460 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001611/0.6232, allocations: 166.1 kB / 0.8276 GB, free: 444 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.914e-05/0.6232, allocations: 44.78 kB / 0.8276 GB, free: 432 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.6233, allocations: 5.875 kB / 0.8277 GB, free: 432 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003286/0.6236, allocations: 195 kB / 0.8278 GB, free: 412 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.743e-05/0.6236, allocations: 20.81 kB / 0.8279 GB, free: 408 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.859e-05/0.6237, allocations: 48.09 kB / 0.8279 GB, free: 392 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.624, allocations: 188.7 kB / 0.8281 GB, free: 364 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.624, allocations: 1.156 kB / 0.8281 GB, free: 364 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.052e-06/0.624, allocations: 3.938 kB / 0.8281 GB, free: 360 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.624, allocations: 0 / 0.8281 GB, free: 360 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.0005797/0.6246, allocations: 441.2 kB / 0.8285 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.6246, allocations: 13.78 kB / 0.8285 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009259/0.6256, allocations: 82.39 kB / 0.8286 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.6257, allocations: 197.5 kB / 0.8288 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.6258, allocations: 11.06 kB / 0.8288 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.6258, allocations: 8.719 kB / 0.8288 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003934/0.6262, allocations: 130.3 kB / 0.8289 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.6262, allocations: 0 / 0.8289 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.6262, allocations: 12.67 kB / 0.8289 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.6262, allocations: 8.547 kB / 0.829 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004854/0.6267, allocations: 133.9 kB / 0.8291 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006764/0.6274, allocations: 414.3 kB / 0.8295 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006809/0.6281, allocations: 251.5 kB / 0.8297 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/0.6284, allocations: 77.73 kB / 0.8298 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.6284, allocations: 4.719 kB / 0.8298 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.6284, allocations: 33.25 kB / 0.8298 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.6284, allocations: 0 / 0.8298 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0007293/0.6292, allocations: 213 kB / 0.83 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.6292, allocations: 56.28 kB / 0.8301 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.6293, allocations: 147.7 kB / 0.8302 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.6293, allocations: 26.89 kB / 0.8303 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.356e-05/0.6294, allocations: 105 kB / 0.8304 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.6294, allocations: 27.34 kB / 0.8304 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.135e-05/0.6295, allocations: 30.28 kB / 0.8304 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.6296, allocations: 330.6 kB / 0.8307 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.6298, allocations: 53.64 kB / 0.8308 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.6301, allocations: 82.55 kB / 0.8309 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003826/0.6304, allocations: 114.6 kB / 0.831 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6305, allocations: 3.938 kB / 0.831 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004601/0.6309, allocations: 167.2 kB / 0.8311 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.6309, allocations: 5.375 kB / 0.8311 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.6309, allocations: 0 / 0.8311 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.631, allocations: 1.312 kB / 0.8311 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.6312, allocations: 24.92 kB / 0.8312 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.6312, allocations: 5.281 kB / 0.8312 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.6313, allocations: 23.58 kB / 0.8312 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.6314, allocations: 4.938 kB / 0.8312 GB, free: 14.45 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.0001057/0.6315, allocations: 125.6 kB / 0.8313 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.6315, allocations: 9.125 kB / 0.8313 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.07e-05/0.6316, allocations: 17.28 kB / 0.8313 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.6316, allocations: 5.594 kB / 0.8313 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.6316, allocations: 0 / 0.8313 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.6316, allocations: 0 / 0.8313 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007582/0.6324, allocations: 465.8 kB / 0.8318 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.6324, allocations: 0 / 0.8318 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.6326, allocations: 28.55 kB / 0.8318 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.6326, allocations: 1.094 kB / 0.8318 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.6326, allocations: 3.938 kB / 0.8318 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.6326, allocations: 1.125 kB / 0.8318 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.6326, allocations: 3.938 kB / 0.8318 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004841/0.6331, allocations: 256.8 kB / 0.8321 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.892e-05/0.6331, allocations: 83.64 kB / 0.8321 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.6332, allocations: 4.672 kB / 0.8321 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.6334, allocations: 21.05 kB / 0.8322 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.6334, allocations: 14.19 kB / 0.8322 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.6334, allocations: 2.719 kB / 0.8322 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.818e-05/0.6335, allocations: 113 kB / 0.8323 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.543e-06/0.6335, allocations: 0 / 0.8323 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002641/0.6338, allocations: 39.28 kB / 0.8323 GB, free: 13.67 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.0001539/0.6339, allocations: 113.2 kB / 0.8324 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000472/0.6344, allocations: 130.3 kB / 0.8326 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.6344, allocations: 0 / 0.8326 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002198/0.6347, allocations: 69.09 kB / 0.8326 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.635, allocations: 43.73 kB / 0.8327 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005528/0.6356, allocations: 264.5 kB / 0.8329 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.6358, allocations: 0.698 MB / 0.8336 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001619/0.636, allocations: 36.05 kB / 0.8336 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.194e-05/0.636, allocations: 13.84 kB / 0.8336 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of SimCode: time 2.11e-07/0.636, allocations: 0 / 0.8336 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of Templates: time 0.004145/0.6402, allocations: 1.833 MB / 0.8354 GB, free: 12.55 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)