Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_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: translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00197/0.00197, allocations: 278.7 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9478/0.9478, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 97.42 kB / 0.5952 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1483, allocations: 86.99 MB / 0.6802 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002674/0.1511, allocations: 1.486 MB / 0.6816 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.481/0.6321, allocations: 132.1 MB / 0.8106 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.449e-05/0.6322, allocations: 1.094 kB / 0.8106 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.243e-05/0.6323, allocations: 6.516 kB / 0.8106 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.016e-05/0.6323, allocations: 11.28 kB / 0.8106 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003248/0.6326, allocations: 71.59 kB / 0.8107 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.39e-05/0.6327, allocations: 53.06 kB / 0.8107 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.964e-05/0.6328, allocations: 16.44 kB / 0.8107 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.206e-05/0.6329, allocations: 20.86 kB / 0.8108 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.542e-05/0.6329, allocations: 23.64 kB / 0.8108 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.6329, allocations: 4.594 kB / 0.8108 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.674e-05/0.633, allocations: 20.62 kB / 0.8108 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/0.633, allocations: 9.453 kB / 0.8108 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.177e-05/0.6331, allocations: 21.95 kB / 0.8108 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.6332, allocations: 62.41 kB / 0.8109 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.6332, allocations: 0 / 0.8109 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6332, allocations: 4 kB / 0.8109 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.6332, allocations: 2.375 kB / 0.8109 GB, free: 2.633 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005641/0.6338, allocations: 369.8 kB / 0.8113 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.6338, allocations: 11.7 kB / 0.8113 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.219e-05/0.6339, allocations: 9.859 kB / 0.8113 GB, free: 18.26 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.977e-05/0.634, allocations: 170.9 kB / 0.8114 GB, free: 18.06 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.634, allocations: 5.75 kB / 0.8115 GB, free: 18.06 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.634, allocations: 5.688 kB / 0.8115 GB, free: 18.05 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.6343, allocations: 76.48 kB / 0.8115 GB, free: 18.02 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.6343, allocations: 4.172 kB / 0.8115 GB, free: 18.02 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.6343, allocations: 9.25 kB / 0.8115 GB, free: 18.01 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.6343, allocations: 0 / 0.8115 GB, free: 18.01 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000275/0.6346, allocations: 70.5 kB / 0.8116 GB, free: 18.01 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003038/0.6349, allocations: 285.5 kB / 0.8119 GB, free: 17.74 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.6351, allocations: 56.86 kB / 0.8119 GB, free: 17.71 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.6352, allocations: 40.31 kB / 0.812 GB, free: 17.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001482/0.6354, allocations: 90.69 kB / 0.8121 GB, free: 17.61 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.6354, allocations: 34.5 kB / 0.8121 GB, free: 17.57 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.6354, allocations: 0 / 0.8121 GB, free: 17.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005014/0.6359, allocations: 134.5 kB / 0.8122 GB, free: 17.53 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.636, allocations: 51.41 kB / 0.8123 GB, free: 17.46 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.873e-05/0.636, allocations: 118.6 kB / 0.8124 GB, free: 17.37 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.6361, allocations: 26.8 kB / 0.8124 GB, free: 17.34 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.532e-05/0.6361, allocations: 90.11 kB / 0.8125 GB, free: 17.25 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.48e-05/0.6361, allocations: 9.5 kB / 0.8125 GB, free: 17.25 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.6362, allocations: 16.22 kB / 0.8125 GB, free: 17.23 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.6363, allocations: 323.6 kB / 0.8128 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.6364, allocations: 30.28 kB / 0.8129 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.6366, allocations: 31.8 kB / 0.8129 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.6368, allocations: 75.75 kB / 0.813 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6369, allocations: 1.25 kB / 0.813 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003009/0.6372, allocations: 92.28 kB / 0.8131 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.6372, allocations: 9.688 kB / 0.8131 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.6372, allocations: 0 / 0.8131 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.6372, allocations: 0 / 0.8131 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.6373, allocations: 16.61 kB / 0.8131 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.6373, allocations: 4 kB / 0.8131 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.728e-05/0.6374, allocations: 17.78 kB / 0.8131 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.6374, allocations: 1.312 kB / 0.8131 GB, free: 16.86 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 (3): * Single equations (assignments): 3 * 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 6.7e-05/0.6375, allocations: 119.2 kB / 0.8132 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.6375, allocations: 7.5 kB / 0.8132 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003372/0.6379, allocations: 110.9 kB / 0.8133 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.6379, allocations: 1.969 kB / 0.8133 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.6379, allocations: 1.203 kB / 0.8133 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.6379, allocations: 384 / 0.8133 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.638, allocations: 177.1 kB / 0.8135 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.6381, allocations: 0 / 0.8135 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.938e-05/0.6381, allocations: 15 kB / 0.8135 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.6382, allocations: 0 / 0.8135 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-06/0.6382, allocations: 3.938 kB / 0.8135 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.6382, allocations: 6.25 kB / 0.8135 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.6382, allocations: 0.75 kB / 0.8135 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003384/0.6385, allocations: 208.4 kB / 0.8137 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.783e-05/0.6386, allocations: 80.42 kB / 0.8138 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.6386, allocations: 4.375 kB / 0.8138 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.6387, allocations: 14.52 kB / 0.8138 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.6387, allocations: 3.219 kB / 0.8138 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.6388, allocations: 0 / 0.8138 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.859e-05/0.6388, allocations: 97.52 kB / 0.8139 GB, free: 16.17 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6388, allocations: 0 / 0.8139 GB, free: 16.17 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002214/0.639, allocations: 11.84 kB / 0.8139 GB, free: 16.17 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 (3): * Single equations (assignments): 3 * 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.0001419/0.6392, allocations: 111.8 kB / 0.814 GB, free: 16.08 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003261/0.6395, allocations: 76.09 kB / 0.8141 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.6395, allocations: 2.25 kB / 0.8141 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.6397, allocations: 32.09 kB / 0.8141 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.64, allocations: 19.41 kB / 0.8142 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003139/0.6403, allocations: 151.6 kB / 0.8143 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.6406, allocations: 0.6867 MB / 0.815 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.113e-05/0.6406, allocations: 4 kB / 0.815 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.573e-05/0.6407, allocations: 10.69 kB / 0.815 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of SimCode: time 2e-07/0.6407, allocations: 5.141 kB / 0.815 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of Templates: time 0.002899/0.6436, allocations: 0.9976 MB / 0.816 GB, free: 15.16 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)