Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.00119, allocations: 109.6 kB / 16.41 MB, free: 6.465 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.001306/0.001306, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002186/0.002186, allocations: 302.2 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9186/0.9186, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 99.86 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4509/0.4526, allocations: 86.98 MB / 0.767 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002839/0.4554, allocations: 1.675 MB / 0.7687 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1457/0.6012, allocations: 149.7 MB / 0.9149 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.6013, allocations: 0 / 0.9149 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0001967/0.6016, allocations: 27.78 kB / 0.9149 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0003085/0.6019, allocations: 59.58 kB / 0.9149 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005162/0.6024, allocations: 179.3 kB / 0.9151 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0002359/0.6027, allocations: 163.5 kB / 0.9153 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.6028, allocations: 29.11 kB / 0.9153 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001232/0.6041, allocations: 191 kB / 0.9155 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.6042, allocations: 63.75 kB / 0.9155 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 3.242e-05/0.6043, allocations: 8 kB / 0.9156 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003466/0.6046, allocations: 163.8 kB / 0.9157 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 5.184e-05/0.6047, allocations: 23.91 kB / 0.9157 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 7.152e-05/0.6047, allocations: 51.73 kB / 0.9158 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0004173/0.6052, allocations: 213.9 kB / 0.916 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.6052, allocations: 0 / 0.916 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6052, allocations: 0 / 0.916 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.6052, allocations: 0 / 0.916 GB, free: 10.84 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008597/0.6061, allocations: 470.9 kB / 0.9164 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.6061, allocations: 12.03 kB / 0.9164 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000605/0.6067, allocations: 48.78 kB / 0.9165 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.607, allocations: 210.7 kB / 0.9167 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.607, allocations: 7.953 kB / 0.9167 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.607, allocations: 15.94 kB / 0.9167 GB, free: 10 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004301/0.6075, allocations: 177.8 kB / 0.9169 GB, free: 9.809 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.6075, allocations: 7.938 kB / 0.9169 GB, free: 9.801 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.6075, allocations: 4 kB / 0.9169 GB, free: 9.797 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.6075, allocations: 0 / 0.9169 GB, free: 9.797 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004672/0.608, allocations: 147.8 kB / 0.917 GB, free: 9.652 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.6091, allocations: 0.8167 MB / 0.9178 GB, free: 8.758 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003821/0.6095, allocations: 130.5 kB / 0.918 GB, free: 8.621 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002346/0.6097, allocations: 80.8 kB / 0.918 GB, free: 8.539 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.6097, allocations: 0 / 0.918 GB, free: 8.539 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.6098, allocations: 38.56 kB / 0.9181 GB, free: 8.492 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.6098, allocations: 0 / 0.9181 GB, free: 8.492 MB / 0.6856 GB Notification: Performance of matching and sorting (n=8): time 0.001766/0.6116, allocations: 459.3 kB / 0.9185 GB, free: 8.016 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.6116, allocations: 51.41 kB / 0.9186 GB, free: 7.953 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.6117, allocations: 154.2 kB / 0.9187 GB, free: 7.793 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.6118, allocations: 33.7 kB / 0.9187 GB, free: 7.754 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 6.296e-05/0.6118, allocations: 108.2 kB / 0.9188 GB, free: 7.645 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.6119, allocations: 27.56 kB / 0.9189 GB, free: 7.617 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.357e-05/0.6119, allocations: 29.69 kB / 0.9189 GB, free: 7.582 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.755e-05/0.612, allocations: 318.8 kB / 0.9192 GB, free: 7.262 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.6123, allocations: 75.92 kB / 0.9193 GB, free: 7.188 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.6125, allocations: 104.2 kB / 0.9194 GB, free: 7.07 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004648/0.613, allocations: 180.1 kB / 0.9195 GB, free: 6.879 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.613, allocations: 3.938 kB / 0.9195 GB, free: 6.875 MB / 0.6856 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009533/0.614, allocations: 290 kB / 0.9198 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.614, allocations: 7.938 kB / 0.9198 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.614, allocations: 0 / 0.9198 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005296/0.6146, allocations: 88.89 kB / 0.9199 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.6148, allocations: 31.95 kB / 0.9199 GB, free: 6.453 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001929/0.6167, allocations: 1.652 MB / 0.9216 GB, free: 4.656 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.6169, allocations: 27.86 kB / 0.9216 GB, free: 4.629 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.6169, allocations: 7.984 kB / 0.9216 GB, free: 4.621 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.6171, allocations: 125.8 kB / 0.9217 GB, free: 4.488 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.6171, allocations: 7.906 kB / 0.9217 GB, free: 4.48 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.6181, allocations: 326.7 kB / 0.922 GB, free: 4.152 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.6181, allocations: 4 kB / 0.922 GB, free: 4.148 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.6181, allocations: 0 / 0.922 GB, free: 4.148 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.6181, allocations: 0 / 0.922 GB, free: 4.148 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.6184, allocations: 233.6 kB / 0.9223 GB, free: 3.871 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.6184, allocations: 0 / 0.9223 GB, free: 3.871 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.6186, allocations: 31.95 kB / 0.9223 GB, free: 3.84 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003916/0.619, allocations: 76.72 kB / 0.9224 GB, free: 3.762 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.619, allocations: 7.938 kB / 0.9224 GB, free: 3.754 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001729/0.6208, allocations: 1.685 MB / 0.924 GB, free: 1.922 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.6208, allocations: 0 / 0.924 GB, free: 1.922 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000955/0.6217, allocations: 376.1 kB / 0.9244 GB, free: 1.535 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 8.338e-05/0.6218, allocations: 108.8 kB / 0.9245 GB, free: 1.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.6219, allocations: 3.984 kB / 0.9245 GB, free: 1.406 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.6221, allocations: 19.92 kB / 0.9245 GB, free: 1.387 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/0.6221, allocations: 11.98 kB / 0.9245 GB, free: 1.375 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.6222, allocations: 11.98 kB / 0.9245 GB, free: 1.363 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 6.701e-05/0.6222, allocations: 109.4 kB / 0.9246 GB, free: 1.258 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6222, allocations: 4 kB / 0.9246 GB, free: 1.254 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003107/0.6225, allocations: 47.98 kB / 0.9247 GB, free: 1.207 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001602/0.6227, allocations: 115.2 kB / 0.9248 GB, free: 1.086 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0008355/0.6236, allocations: 309.3 kB / 0.9251 GB, free: 0.7734 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.6236, allocations: 0 / 0.9251 GB, free: 0.7734 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005036/0.6241, allocations: 230.5 kB / 0.9253 GB, free: 0.5352 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.6244, allocations: 27.16 kB / 0.9253 GB, free: 0.5117 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007833/0.6252, allocations: 342.8 kB / 0.9257 GB, free: 152 kB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.6255, allocations: 0.7085 MB / 0.9263 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.533e-05/0.6255, allocations: 23.42 kB / 0.9264 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of SimCode: time 2.11e-07/0.6255, allocations: 0 / 0.9264 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of Templates: time 0.004478/0.63, allocations: 2.742 MB / 0.929 GB, free: 12.66 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)