Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.00108/0.00108, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001283/0.001283, allocations: 192 kB / 16.13 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.655/1.655, allocations: 292.2 MB / 0.5484 GB, free: 13.67 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001422, allocations: 66.16 kB / 0.6708 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2257, allocations: 114.5 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003383/0.2292, allocations: 1.99 MB / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6118/0.841, allocations: 153.1 MB / 0.9341 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001879/0.8412, allocations: 5.281 kB / 0.9341 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002233/0.8415, allocations: 19.94 kB / 0.9341 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004375/0.842, allocations: 67.56 kB / 0.9342 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.8433, allocations: 224.7 kB / 0.9344 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003988/0.8437, allocations: 250.3 kB / 0.9346 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002359/0.8439, allocations: 63.36 kB / 0.9347 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002056/0.846, allocations: 228 kB / 0.9349 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.8462, allocations: 87.62 kB / 0.935 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.547e-05/0.8462, allocations: 11.62 kB / 0.935 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004127/0.8466, allocations: 180.2 kB / 0.9352 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.916e-05/0.8467, allocations: 38.45 kB / 0.9352 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.8468, allocations: 85.8 kB / 0.9353 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004243/0.8472, allocations: 268.6 kB / 0.9356 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.8473, allocations: 2.656 kB / 0.9356 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.904e-06/0.8473, allocations: 0 / 0.9356 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.8473, allocations: 1.094 kB / 0.9356 GB, free: 5.734 MB / 0.7325 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.001264/0.8486, allocations: 0.5116 MB / 0.9361 GB, free: 21.32 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.8486, allocations: 8.469 kB / 0.9361 GB, free: 21.32 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009442/0.8496, allocations: 89 kB / 0.9362 GB, free: 21.31 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.8498, allocations: 221.7 kB / 0.9364 GB, free: 21.1 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.637e-05/0.8499, allocations: 39.19 kB / 0.9364 GB, free: 21.07 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.722e-05/0.85, allocations: 22.69 kB / 0.9364 GB, free: 21.06 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005221/0.8505, allocations: 257.2 kB / 0.9367 GB, free: 20.96 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.8505, allocations: 2.75 kB / 0.9367 GB, free: 20.96 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.021e-05/0.8506, allocations: 5.984 kB / 0.9367 GB, free: 20.96 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.8506, allocations: 5.75 kB / 0.9367 GB, free: 20.96 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004603/0.851, allocations: 171.9 kB / 0.9368 GB, free: 20.96 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.8527, allocations: 1.17 MB / 0.938 GB, free: 20.08 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007571/0.8534, allocations: 205 kB / 0.9382 GB, free: 20.06 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.8536, allocations: 71.69 kB / 0.9383 GB, free: 20.05 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.8537, allocations: 5.375 kB / 0.9383 GB, free: 20.05 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.8537, allocations: 33.62 kB / 0.9383 GB, free: 20.01 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/0.8537, allocations: 0 / 0.9383 GB, free: 20.01 MB / 0.7481 GB Notification: Performance of matching and sorting (n=12): time 0.002753/0.8565, allocations: 0.6251 MB / 0.9389 GB, free: 19.75 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.8565, allocations: 52.02 kB / 0.9389 GB, free: 19.69 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.8567, allocations: 202.4 kB / 0.9391 GB, free: 19.59 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.8568, allocations: 28.77 kB / 0.9392 GB, free: 19.55 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 8.385e-05/0.8569, allocations: 143.8 kB / 0.9393 GB, free: 19.45 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.302e-05/0.8569, allocations: 39.48 kB / 0.9393 GB, free: 19.42 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.857, allocations: 46.52 kB / 0.9394 GB, free: 19.4 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.8571, allocations: 335.8 kB / 0.9397 GB, free: 19.09 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.8574, allocations: 70.23 kB / 0.9398 GB, free: 19.08 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.8576, allocations: 134.1 kB / 0.9399 GB, free: 19.01 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003954/0.858, allocations: 195.5 kB / 0.9401 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.858, allocations: 7.062 kB / 0.9401 GB, free: 18.94 MB / 0.7481 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00147/0.8595, allocations: 364 kB / 0.9404 GB, free: 18.88 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.8595, allocations: 14.42 kB / 0.9405 GB, free: 18.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.8595, allocations: 2.688 kB / 0.9405 GB, free: 18.88 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.8607, allocations: 160 kB / 0.9406 GB, free: 18.86 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/0.8609, allocations: 41.78 kB / 0.9407 GB, free: 18.85 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003783/0.8647, allocations: 3.031 MB / 0.9436 GB, free: 16.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003789/0.8651, allocations: 33.27 kB / 0.9436 GB, free: 16.24 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/0.8651, allocations: 17.88 kB / 0.9437 GB, free: 16.24 MB / 0.7481 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.0001491/0.8653, allocations: 128.4 kB / 0.9438 GB, free: 16.12 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.533e-05/0.8653, allocations: 15.5 kB / 0.9438 GB, free: 16.11 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/0.8666, allocations: 373.6 kB / 0.9442 GB, free: 16.05 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.8667, allocations: 1.953 kB / 0.9442 GB, free: 16.05 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.8667, allocations: 1.625 kB / 0.9442 GB, free: 16.05 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.8667, allocations: 3.641 kB / 0.9442 GB, free: 16.05 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003242/0.867, allocations: 276.7 kB / 0.9444 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.867, allocations: 0 / 0.9444 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.8672, allocations: 23.83 kB / 0.9444 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009769/0.8681, allocations: 159.8 kB / 0.9446 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.8682, allocations: 4.562 kB / 0.9446 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003775/0.872, allocations: 3.085 MB / 0.9476 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.872, allocations: 3.562 kB / 0.9476 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.8733, allocations: 427.4 kB / 0.948 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.8734, allocations: 104.8 kB / 0.9481 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.496e-05/0.8735, allocations: 14.31 kB / 0.9481 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002868/0.8737, allocations: 11.92 kB / 0.9482 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.307e-05/0.8738, allocations: 21.47 kB / 0.9482 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.8739, allocations: 6.703 kB / 0.9482 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001724/0.8741, allocations: 148.5 kB / 0.9483 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8741, allocations: 1.203 kB / 0.9483 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004487/0.8745, allocations: 71.09 kB / 0.9484 GB, free: 12.86 MB / 0.7481 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.0002301/0.8747, allocations: 122.6 kB / 0.9485 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001073/0.8758, allocations: 447.6 kB / 0.9489 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.8758, allocations: 0 / 0.9489 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006717/0.8765, allocations: 354 kB / 0.9493 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004695/0.877, allocations: 58.94 kB / 0.9493 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000884/0.8779, allocations: 471.7 kB / 0.9498 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.8782, allocations: 0.7293 MB / 0.9505 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000207/0.8784, allocations: 34.41 kB / 0.9505 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.025e-05/0.8785, allocations: 22.88 kB / 0.9505 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.8785, allocations: 5.203 kB / 0.9505 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of Templates: time 0.01013/0.8886, allocations: 4.969 MB / 0.9554 GB, free: 11.03 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)