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: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007536/0.0007536, allocations: 99.86 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.0008501/0.0008501, 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.305/1.305, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001941/0.001941, allocations: 259 kB / 291.2 MB, free: 2.004 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.8271/0.8271, allocations: 144.6 MB / 487 MB, free: 7.152 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004313/0.0004314, allocations: 11.09 kB / 0.5684 GB, free: 38.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1778, allocations: 83.09 MB / 0.6495 GB, free: 3.492 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001595/0.1795, allocations: 1.189 MB / 0.6507 GB, free: 2.293 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.1805, allocations: 0.6652 MB / 0.6513 GB, free: 1.629 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.324e-05/0.1805, allocations: 4.562 kB / 0.6513 GB, free: 1.625 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.496e-05/0.1806, allocations: 0.5312 kB / 0.6513 GB, free: 1.625 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.731e-05/0.1806, allocations: 13.53 kB / 0.6514 GB, free: 1.613 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003371/0.181, allocations: 103.7 kB / 0.6515 GB, free: 1.512 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.546e-05/0.1811, allocations: 33.05 kB / 0.6515 GB, free: 1.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.1812, allocations: 12.69 kB / 0.6515 GB, free: 1.469 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.15e-05/0.1812, allocations: 19.92 kB / 0.6515 GB, free: 1.449 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.59e-05/0.1813, allocations: 21.11 kB / 0.6515 GB, free: 1.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.1813, allocations: 0 / 0.6515 GB, free: 1.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000295/0.1816, allocations: 172.7 kB / 0.6517 GB, free: 1.262 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.183e-05/0.1817, allocations: 8 kB / 0.6517 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.1817, allocations: 29.64 kB / 0.6517 GB, free: 1.219 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.1819, allocations: 97.61 kB / 0.6518 GB, free: 1.125 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.1819, allocations: 0 / 0.6518 GB, free: 1.125 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1819, allocations: 0 / 0.6518 GB, free: 1.125 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.1819, allocations: 0 / 0.6518 GB, free: 1.125 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.0005215/0.1824, allocations: 397.8 kB / 0.6522 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.1825, allocations: 12.56 kB / 0.6522 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.535e-05/0.1825, allocations: 34.56 kB / 0.6523 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.946e-05/0.1825, allocations: 12.48 kB / 0.6523 GB, free: 0.625 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.1827, allocations: 167.5 kB / 0.6524 GB, free: 432 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.1827, allocations: 8.562 kB / 0.6524 GB, free: 424 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.1827, allocations: 3.938 kB / 0.6524 GB, free: 420 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003052/0.183, allocations: 92.33 kB / 0.6525 GB, free: 324 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.183, allocations: 0 / 0.6525 GB, free: 324 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.1831, allocations: 4.75 kB / 0.6525 GB, free: 320 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.1831, allocations: 0 / 0.6525 GB, free: 320 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003312/0.1834, allocations: 92.41 kB / 0.6526 GB, free: 232 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000598/0.184, allocations: 279.2 kB / 0.6529 GB, free: 15.91 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.1843, allocations: 73.03 kB / 0.653 GB, free: 15.83 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002221/0.1845, allocations: 89.19 kB / 0.653 GB, free: 15.72 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.853e-05/0.1846, allocations: 31.19 kB / 0.6531 GB, free: 15.68 MB / 462.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1846, allocations: 1.469 kB / 0.6531 GB, free: 15.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006401/0.1852, allocations: 166.9 kB / 0.6532 GB, free: 15.52 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.105e-05/0.1853, allocations: 55.41 kB / 0.6533 GB, free: 15.45 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.1854, allocations: 120 kB / 0.6534 GB, free: 15.33 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.1855, allocations: 25.7 kB / 0.6534 GB, free: 15.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.041e-05/0.1856, allocations: 92.12 kB / 0.6535 GB, free: 15.2 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.1856, allocations: 15.91 kB / 0.6535 GB, free: 15.19 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-06/0.1856, allocations: 0 / 0.6535 GB, free: 15.19 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.1858, allocations: 315.9 kB / 0.6538 GB, free: 14.87 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.186, allocations: 47.95 kB / 0.6539 GB, free: 14.82 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.1861, allocations: 43.97 kB / 0.6539 GB, free: 14.78 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.1863, allocations: 39.95 kB / 0.6539 GB, free: 14.74 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1863, allocations: 4 kB / 0.654 GB, free: 14.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003602/0.1867, allocations: 125.5 kB / 0.6541 GB, free: 14.61 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.1867, allocations: 4 kB / 0.6541 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.1867, allocations: 0 / 0.6541 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.1868, allocations: 4 kB / 0.6541 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.1869, allocations: 19.98 kB / 0.6541 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.1869, allocations: 0 / 0.6541 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.317e-05/0.187, allocations: 23.91 kB / 0.6541 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.1871, allocations: 3.953 kB / 0.6541 GB, free: 14.55 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 0.000137/0.1872, allocations: 121.8 kB / 0.6542 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.1872, allocations: 7.844 kB / 0.6542 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004339/0.1877, allocations: 129.8 kB / 0.6544 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1877, allocations: 48 / 0.6544 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.1877, allocations: 7.984 kB / 0.6544 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.1877, allocations: 0 / 0.6544 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.188, allocations: 173.6 kB / 0.6545 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.188, allocations: 0 / 0.6545 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.1881, allocations: 23.98 kB / 0.6546 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1881, allocations: 0 / 0.6546 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.1881, allocations: 0 / 0.6546 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1882, allocations: 3.938 kB / 0.6546 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1882, allocations: 0 / 0.6546 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004587/0.1886, allocations: 223.4 kB / 0.6548 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.332e-05/0.1887, allocations: 85.02 kB / 0.6549 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.1887, allocations: 0 / 0.6549 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.1889, allocations: 19.98 kB / 0.6549 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.199e-05/0.1889, allocations: 7.984 kB / 0.6549 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.1889, allocations: 0 / 0.6549 GB, free: 13.66 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.156e-05/0.189, allocations: 91.27 kB / 0.655 GB, free: 13.57 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.189, allocations: 0 / 0.655 GB, free: 13.57 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003372/0.1894, allocations: 32 kB / 0.655 GB, free: 13.54 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.001057/0.1904, allocations: 0.7864 MB / 0.6558 GB, free: 12.73 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003884/0.1908, allocations: 87.92 kB / 0.6559 GB, free: 12.64 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1909, allocations: 0 / 0.6559 GB, free: 12.64 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.191, allocations: 51.95 kB / 0.6559 GB, free: 12.59 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.1914, allocations: 8.766 kB / 0.6559 GB, free: 12.59 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.1927, allocations: 0.5877 MB / 0.6565 GB, free: 11.95 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.1931, allocations: 0.6848 MB / 0.6572 GB, free: 11.24 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.06e-05/0.1932, allocations: 4 kB / 0.6572 GB, free: 11.24 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.736e-05/0.1932, allocations: 15.44 kB / 0.6572 GB, free: 11.22 MB / 462.1 MB Notification: Performance of SimCode: time 1.91e-05/0.1932, allocations: 0 / 0.6572 GB, free: 11.22 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.526/4.719, allocations: 2.09 MB / 0.6592 GB, free: 9.285 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002126/4.719, allocations: 202.2 kB / 0.6594 GB, free: 9.035 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.993/6.712, allocations: 0 / 0.6594 GB, free: 9.035 MB / 462.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) Environment - environmentSimulation: