Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 108 kB / 15.61 MB, free: 148 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.001152/0.001152, allocations: 197.1 kB / 16.53 MB, free: 6.656 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.298/1.298, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00202/0.00202, allocations: 283.1 kB / 290.7 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.915/0.915, allocations: 169.2 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 97.36 kB / 0.5952 GB, free: 27.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1416, allocations: 86.98 MB / 0.6802 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003064/0.1447, allocations: 1.914 MB / 0.682 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5083/0.6531, allocations: 155.4 MB / 0.8338 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002006/0.6533, allocations: 2.219 kB / 0.8338 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002367/0.6536, allocations: 24.62 kB / 0.8338 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003752/0.654, allocations: 77.98 kB / 0.8339 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009284/0.6549, allocations: 257.4 kB / 0.8342 GB, free: 500 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002908/0.6552, allocations: 261.3 kB / 0.8344 GB, free: 456 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002085/0.6554, allocations: 75.27 kB / 0.8345 GB, free: 440 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0013/0.6567, allocations: 239 kB / 0.8347 GB, free: 416 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.6569, allocations: 102.1 kB / 0.8348 GB, free: 388 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.604e-05/0.6569, allocations: 15.47 kB / 0.8348 GB, free: 388 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003665/0.6573, allocations: 177.9 kB / 0.835 GB, free: 380 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.404e-05/0.6574, allocations: 45.84 kB / 0.835 GB, free: 372 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.777e-05/0.6575, allocations: 94.19 kB / 0.8351 GB, free: 344 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004194/0.6579, allocations: 275.5 kB / 0.8354 GB, free: 300 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6579, allocations: 0 / 0.8354 GB, free: 300 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6579, allocations: 0 / 0.8354 GB, free: 300 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.982e-06/0.6579, allocations: 1.25 kB / 0.8354 GB, free: 300 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009841/0.6589, allocations: 0.5285 MB / 0.8359 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.659, allocations: 11.05 kB / 0.8359 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008297/0.6598, allocations: 87.08 kB / 0.836 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.6601, allocations: 222.3 kB / 0.8362 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.159e-05/0.6602, allocations: 44.72 kB / 0.8363 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/0.6602, allocations: 17.56 kB / 0.8363 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005049/0.6607, allocations: 264.6 kB / 0.8365 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.6608, allocations: 0 / 0.8365 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.6608, allocations: 9.094 kB / 0.8365 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.6608, allocations: 8.594 kB / 0.8365 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004503/0.6613, allocations: 172.3 kB / 0.8367 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001624/0.6629, allocations: 1.177 MB / 0.8379 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007603/0.6637, allocations: 203.5 kB / 0.838 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/0.6639, allocations: 69.83 kB / 0.8381 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.6639, allocations: 1.5 kB / 0.8381 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.6639, allocations: 36.06 kB / 0.8381 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.6639, allocations: 3.938 kB / 0.8382 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.002678/0.6666, allocations: 0.6306 MB / 0.8388 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.6667, allocations: 56.3 kB / 0.8388 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.6669, allocations: 212.4 kB / 0.839 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.667, allocations: 26.95 kB / 0.8391 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.716e-05/0.6671, allocations: 140.5 kB / 0.8392 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.585e-05/0.6671, allocations: 37.84 kB / 0.8392 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.178e-05/0.6672, allocations: 48.86 kB / 0.8393 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.6673, allocations: 329.8 kB / 0.8396 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.6676, allocations: 72.72 kB / 0.8397 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.6678, allocations: 133.8 kB / 0.8398 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004073/0.6682, allocations: 201.2 kB / 0.84 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.6682, allocations: 1.406 kB / 0.84 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001394/0.6696, allocations: 372.5 kB / 0.8403 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.6697, allocations: 6.156 kB / 0.8403 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.6697, allocations: 3 kB / 0.8403 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/0.6708, allocations: 162.4 kB / 0.8405 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.671, allocations: 38.38 kB / 0.8405 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004077/0.6751, allocations: 3.266 MB / 0.8437 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003476/0.6755, allocations: 34.98 kB / 0.8438 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.6755, allocations: 7.406 kB / 0.8438 GB, free: 10.49 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001469/0.6756, allocations: 139.2 kB / 0.8439 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.632e-05/0.6757, allocations: 17.66 kB / 0.8439 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/0.677, allocations: 372.5 kB / 0.8443 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.677, allocations: 1.375 kB / 0.8443 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.677, allocations: 0 / 0.8443 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.677, allocations: 1.375 kB / 0.8443 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003235/0.6774, allocations: 286.5 kB / 0.8445 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.6774, allocations: 0 / 0.8445 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.6775, allocations: 20.48 kB / 0.8446 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008109/0.6783, allocations: 149.4 kB / 0.8447 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.6784, allocations: 1.375 kB / 0.8447 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003453/0.6818, allocations: 3.305 MB / 0.8479 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6818, allocations: 0 / 0.8479 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.6831, allocations: 440 kB / 0.8483 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.6832, allocations: 110 kB / 0.8485 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.678e-05/0.6833, allocations: 8.875 kB / 0.8485 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002798/0.6836, allocations: 14.77 kB / 0.8485 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.657e-05/0.6837, allocations: 15.61 kB / 0.8485 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.6837, allocations: 7.953 kB / 0.8485 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001997/0.6839, allocations: 160.9 kB / 0.8487 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6839, allocations: 5.438 kB / 0.8487 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000453/0.6844, allocations: 72.84 kB / 0.8487 GB, free: 6.551 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002187/0.6846, allocations: 113.9 kB / 0.8488 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001105/0.6857, allocations: 453.1 kB / 0.8493 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.175e-06/0.6857, allocations: 1.781 kB / 0.8493 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006983/0.6864, allocations: 362.6 kB / 0.8496 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.6869, allocations: 65.69 kB / 0.8497 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009594/0.6878, allocations: 422.3 kB / 0.8501 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.6881, allocations: 0.7358 MB / 0.8508 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001936/0.6883, allocations: 41.23 kB / 0.8508 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.716e-05/0.6884, allocations: 21.41 kB / 0.8509 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of SimCode: time 1.91e-07/0.6884, allocations: 0 / 0.8509 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of Templates: time 0.01054/0.699, allocations: 5.291 MB / 0.856 GB, free: 2.234 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)