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.001237/0.001237, 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.001359/0.001359, allocations: 194.2 kB / 16.13 MB, free: 6.66 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.328/1.328, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001999/0.001998, allocations: 279 kB / 290.2 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9305/0.9305, allocations: 169.2 MB / 0.4977 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 93.61 kB / 0.5946 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1328, allocations: 86.97 MB / 0.6795 GB, free: 1.098 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003349/0.1362, allocations: 1.553 MB / 0.6811 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.1378, allocations: 0.8185 MB / 0.6819 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.638e-05/0.1379, allocations: 3.938 kB / 0.6819 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.828e-05/0.1379, allocations: 4.812 kB / 0.6819 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.578e-05/0.138, allocations: 12.53 kB / 0.6819 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003979/0.1384, allocations: 113 kB / 0.682 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.556e-05/0.1385, allocations: 47.84 kB / 0.682 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.79e-05/0.1386, allocations: 24.5 kB / 0.682 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.88e-05/0.1387, allocations: 19.92 kB / 0.6821 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.262e-05/0.1387, allocations: 19.91 kB / 0.6821 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.1387, allocations: 4 kB / 0.6821 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003041/0.139, allocations: 175.7 kB / 0.6823 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.563e-05/0.1391, allocations: 7.938 kB / 0.6823 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.091e-05/0.1391, allocations: 23.86 kB / 0.6823 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002265/0.1393, allocations: 139.7 kB / 0.6824 GB, free: 14.14 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.1394, allocations: 4 kB / 0.6824 GB, free: 14.14 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.1394, allocations: 4 kB / 0.6824 GB, free: 14.13 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.1394, allocations: 0 / 0.6824 GB, free: 14.13 MB / 494.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.000506/0.1399, allocations: 399.2 kB / 0.6828 GB, free: 13.69 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.1399, allocations: 8.031 kB / 0.6828 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/0.14, allocations: 38.73 kB / 0.6829 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.461e-05/0.14, allocations: 4.844 kB / 0.6829 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.689e-05/0.1401, allocations: 172.2 kB / 0.683 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.1401, allocations: 8.375 kB / 0.683 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.1401, allocations: 8.375 kB / 0.683 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.1404, allocations: 74.2 kB / 0.6831 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.1404, allocations: 3.938 kB / 0.6831 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.1404, allocations: 0 / 0.6831 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1404, allocations: 0 / 0.6831 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002763/0.1407, allocations: 83.84 kB / 0.6832 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/0.1411, allocations: 280.7 kB / 0.6835 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.1413, allocations: 50.55 kB / 0.6835 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.1414, allocations: 44.91 kB / 0.6836 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001821/0.1416, allocations: 93.03 kB / 0.6836 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.1417, allocations: 30.56 kB / 0.6837 GB, free: 12.67 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1417, allocations: 3.938 kB / 0.6837 GB, free: 12.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005071/0.1422, allocations: 129.6 kB / 0.6838 GB, free: 12.53 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.1422, allocations: 51.41 kB / 0.6838 GB, free: 12.47 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.107e-05/0.1423, allocations: 117.8 kB / 0.684 GB, free: 12.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.1423, allocations: 25.7 kB / 0.684 GB, free: 12.31 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.208e-05/0.1424, allocations: 88.14 kB / 0.6841 GB, free: 12.22 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.1424, allocations: 11.81 kB / 0.6841 GB, free: 12.21 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.1424, allocations: 17.7 kB / 0.6841 GB, free: 12.19 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.236e-05/0.1425, allocations: 322.8 kB / 0.6844 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.1427, allocations: 31.97 kB / 0.6844 GB, free: 11.83 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.1428, allocations: 35.89 kB / 0.6845 GB, free: 11.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.1431, allocations: 73.06 kB / 0.6845 GB, free: 11.72 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1431, allocations: 3.938 kB / 0.6845 GB, free: 11.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002911/0.1434, allocations: 97.61 kB / 0.6846 GB, free: 11.62 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.1434, allocations: 8 kB / 0.6846 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.165e-06/0.1434, allocations: 0 / 0.6846 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.1434, allocations: 0 / 0.6846 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.1435, allocations: 15.98 kB / 0.6847 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1436, allocations: 4 kB / 0.6847 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.49e-05/0.1436, allocations: 19.81 kB / 0.6847 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.1437, allocations: 4 kB / 0.6847 GB, free: 11.57 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.195e-05/0.1437, allocations: 118.4 kB / 0.6848 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.1438, allocations: 4 kB / 0.6848 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003326/0.1441, allocations: 109.5 kB / 0.6849 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1441, allocations: 0 / 0.6849 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.1441, allocations: 0 / 0.6849 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.1441, allocations: 0 / 0.6849 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.1443, allocations: 173.6 kB / 0.6851 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1443, allocations: 0 / 0.6851 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.843e-05/0.1444, allocations: 15.98 kB / 0.6851 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1444, allocations: 0 / 0.6851 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.1444, allocations: 0 / 0.6851 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1444, allocations: 4 kB / 0.6851 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.24e-05/0.1444, allocations: 7.984 kB / 0.6851 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003239/0.1448, allocations: 199.3 kB / 0.6853 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.048e-05/0.1448, allocations: 77.11 kB / 0.6854 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.1448, allocations: 8 kB / 0.6854 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.985e-05/0.1449, allocations: 11.98 kB / 0.6854 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.145, allocations: 7.984 kB / 0.6854 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.145, allocations: 0 / 0.6854 GB, free: 10.74 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.601e-05/0.145, allocations: 95.27 kB / 0.6855 GB, free: 10.65 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1451, allocations: 0 / 0.6855 GB, free: 10.65 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.1453, allocations: 31.94 kB / 0.6855 GB, free: 10.62 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006889/0.146, allocations: 0.7708 MB / 0.6863 GB, free: 9.82 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003022/0.1463, allocations: 71.92 kB / 0.6863 GB, free: 9.75 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1463, allocations: 0 / 0.6863 GB, free: 9.75 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.1465, allocations: 35.95 kB / 0.6864 GB, free: 9.715 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.1468, allocations: 9.375 kB / 0.6864 GB, free: 9.707 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.1485, allocations: 1.432 MB / 0.6878 GB, free: 8.199 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.1487, allocations: 0.6848 MB / 0.6884 GB, free: 7.488 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.955e-05/0.1488, allocations: 7.984 kB / 0.6884 GB, free: 7.48 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.028e-05/0.1488, allocations: 19.38 kB / 0.6885 GB, free: 7.461 MB / 494.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1488, allocations: 0 / 0.6885 GB, free: 7.461 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01094/0.1598, allocations: 2.19 MB / 0.6906 GB, free: 5.402 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002136/0.16, allocations: 217.5 kB / 0.6908 GB, free: 5.141 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/1.95, allocations: 4 kB / 0.6908 GB, free: 5.137 MB / 494.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/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)