Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_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.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008942/0.0008941, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001027/0.001027, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 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: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001787/0.001787, allocations: 266.9 kB / 291.3 MB, free: 1.918 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.798/0.798, allocations: 144.6 MB / 487 MB, free: 7.172 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003943/0.0003945, allocations: 14.47 kB / 0.5683 GB, free: 38.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1475, allocations: 83.09 MB / 0.6494 GB, free: 3.582 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001491/0.149, allocations: 1.198 MB / 0.6506 GB, free: 2.375 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009509/0.15, allocations: 0.6528 MB / 0.6512 GB, free: 1.723 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.958e-05/0.15, allocations: 0.5938 kB / 0.6512 GB, free: 1.723 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.864e-05/0.1501, allocations: 8.562 kB / 0.6512 GB, free: 1.715 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.929e-05/0.1501, allocations: 13.72 kB / 0.6513 GB, free: 1.703 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.1505, allocations: 103.7 kB / 0.6514 GB, free: 1.602 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.452e-05/0.1506, allocations: 31.89 kB / 0.6514 GB, free: 1.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.234e-05/0.1507, allocations: 9.469 kB / 0.6514 GB, free: 1.562 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.508e-05/0.1507, allocations: 19.92 kB / 0.6514 GB, free: 1.543 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.996e-05/0.1508, allocations: 20.62 kB / 0.6514 GB, free: 1.523 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.1508, allocations: 5.031 kB / 0.6514 GB, free: 1.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002903/0.1511, allocations: 167.7 kB / 0.6516 GB, free: 1.355 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.45e-05/0.1511, allocations: 11.97 kB / 0.6516 GB, free: 1.344 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.486e-05/0.1511, allocations: 35.17 kB / 0.6516 GB, free: 1.305 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.1513, allocations: 96.09 kB / 0.6517 GB, free: 1.211 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.1513, allocations: 0 / 0.6517 GB, free: 1.211 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1513, allocations: 0 / 0.6517 GB, free: 1.211 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.868e-06/0.1513, allocations: 0.7188 kB / 0.6517 GB, free: 1.211 MB / 446.1 MB 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.000477/0.1518, allocations: 397.4 kB / 0.6521 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.1519, allocations: 8.625 kB / 0.6521 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.225e-05/0.1519, allocations: 8.438 kB / 0.6521 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.152, allocations: 175 kB / 0.6523 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.152, allocations: 0.5938 kB / 0.6523 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.152, allocations: 4.594 kB / 0.6523 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.1523, allocations: 87.78 kB / 0.6524 GB, free: 468 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.1523, allocations: 0.75 kB / 0.6524 GB, free: 468 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.1523, allocations: 3.938 kB / 0.6524 GB, free: 464 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1523, allocations: 0.875 kB / 0.6524 GB, free: 464 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002922/0.1526, allocations: 101.1 kB / 0.6525 GB, free: 368 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003367/0.153, allocations: 276.8 kB / 0.6528 GB, free: 40 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.1532, allocations: 69.14 kB / 0.6528 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001572/0.1534, allocations: 95.23 kB / 0.6529 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.1534, allocations: 34.56 kB / 0.6529 GB, free: 15.81 MB / 462.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1534, allocations: 0 / 0.6529 GB, free: 15.81 MB / 462.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005282/0.1539, allocations: 163.5 kB / 0.6531 GB, free: 15.65 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.154, allocations: 57.12 kB / 0.6532 GB, free: 15.59 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.306e-05/0.1541, allocations: 113.8 kB / 0.6533 GB, free: 15.46 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.1541, allocations: 25.7 kB / 0.6533 GB, free: 15.43 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/0.1541, allocations: 93.22 kB / 0.6534 GB, free: 15.34 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.1542, allocations: 7.906 kB / 0.6534 GB, free: 15.33 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.1542, allocations: 0 / 0.6534 GB, free: 15.33 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.81e-05/0.1543, allocations: 322.8 kB / 0.6537 GB, free: 15.01 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.1544, allocations: 39.95 kB / 0.6537 GB, free: 14.97 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.1546, allocations: 47.91 kB / 0.6538 GB, free: 14.92 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.1547, allocations: 43.95 kB / 0.6538 GB, free: 14.88 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1547, allocations: 0 / 0.6538 GB, free: 14.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003177/0.1551, allocations: 121.5 kB / 0.6539 GB, free: 14.75 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.1551, allocations: 9.25 kB / 0.6539 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.1551, allocations: 0 / 0.6539 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.1551, allocations: 0 / 0.6539 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.1552, allocations: 23.98 kB / 0.654 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1552, allocations: 0 / 0.654 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.903e-05/0.1553, allocations: 27.91 kB / 0.654 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.1554, allocations: 4 kB / 0.654 GB, free: 14.69 MB / 462.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.674e-05/0.1554, allocations: 109.8 kB / 0.6541 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.1555, allocations: 7.906 kB / 0.6541 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003578/0.1558, allocations: 137.4 kB / 0.6542 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1558, allocations: 0 / 0.6542 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1558, allocations: 4 kB / 0.6542 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1559, allocations: 3.938 kB / 0.6542 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.156, allocations: 173.6 kB / 0.6544 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.156, allocations: 0 / 0.6544 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.285e-05/0.1561, allocations: 23.98 kB / 0.6544 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1561, allocations: 0 / 0.6544 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.1562, allocations: 4 kB / 0.6544 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1562, allocations: 4 kB / 0.6544 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1562, allocations: 384 / 0.6544 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/0.1565, allocations: 223.3 kB / 0.6547 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.17e-05/0.1566, allocations: 85.02 kB / 0.6547 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.1566, allocations: 4 kB / 0.6547 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.1567, allocations: 15.98 kB / 0.6548 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.1568, allocations: 7.984 kB / 0.6548 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.1568, allocations: 0 / 0.6548 GB, free: 13.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.829e-05/0.1568, allocations: 91.27 kB / 0.6548 GB, free: 13.71 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1568, allocations: 0 / 0.6548 GB, free: 13.71 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000256/0.1571, allocations: 28 kB / 0.6549 GB, free: 13.68 MB / 462.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002164/0.1573, allocations: 143.2 kB / 0.655 GB, free: 13.54 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003426/0.1577, allocations: 91.92 kB / 0.6551 GB, free: 13.45 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1577, allocations: 0 / 0.6551 GB, free: 13.45 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.1578, allocations: 51.91 kB / 0.6551 GB, free: 13.39 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.1581, allocations: 11.94 kB / 0.6552 GB, free: 13.38 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003258/0.1584, allocations: 162.5 kB / 0.6553 GB, free: 13.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.1587, allocations: 0.6926 MB / 0.656 GB, free: 12.48 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.118e-05/0.1587, allocations: 0 / 0.656 GB, free: 12.48 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.193e-05/0.1587, allocations: 11.44 kB / 0.656 GB, free: 12.46 MB / 462.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1587, allocations: 0 / 0.656 GB, free: 12.46 MB / 462.1 MB Notification: Performance of Templates: time 0.003478/0.1622, allocations: 1.198 MB / 0.6572 GB, free: 11.28 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) Environment - environmentSimulation: