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.0007922/0.0007924, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005337/0.005337, allocations: 174.5 kB / 16.27 MB, free: 6.648 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.295/1.295, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001682/0.001681, allocations: 262.4 kB / 291.7 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.881/0.881, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005881/0.0005881, allocations: 12.84 kB / 0.5988 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.141, allocations: 88.54 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001216/0.1423, allocations: 1.212 MB / 0.6864 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.1433, allocations: 0.8071 MB / 0.6872 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.642e-05/0.1433, allocations: 0 / 0.6872 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.716e-06/0.1433, allocations: 5.938 kB / 0.6872 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.526e-05/0.1434, allocations: 7.938 kB / 0.6872 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.1436, allocations: 112.1 kB / 0.6873 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.966e-05/0.1437, allocations: 44.58 kB / 0.6874 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.812e-05/0.1437, allocations: 25.09 kB / 0.6874 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.426e-05/0.1438, allocations: 15.94 kB / 0.6874 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.293e-05/0.1438, allocations: 21.59 kB / 0.6874 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.273e-06/0.1438, allocations: 4 kB / 0.6874 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002519/0.1441, allocations: 171.7 kB / 0.6876 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.12e-05/0.1441, allocations: 11.94 kB / 0.6876 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.864e-05/0.1441, allocations: 46.19 kB / 0.6876 GB, free: 12.49 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.1443, allocations: 153.1 kB / 0.6878 GB, free: 12.34 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.1443, allocations: 0 / 0.6878 GB, free: 12.34 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1443, allocations: 0 / 0.6878 GB, free: 12.34 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.914e-06/0.1443, allocations: 0 / 0.6878 GB, free: 12.34 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.0003897/0.1447, allocations: 409.6 kB / 0.6882 GB, free: 11.9 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.626e-05/0.1448, allocations: 12.03 kB / 0.6882 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.344e-05/0.1448, allocations: 30.75 kB / 0.6882 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.68e-05/0.1448, allocations: 8.844 kB / 0.6882 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.125e-05/0.1449, allocations: 168.3 kB / 0.6884 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.083e-06/0.1449, allocations: 8.375 kB / 0.6884 GB, free: 11.63 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.723e-06/0.1449, allocations: 1.75 kB / 0.6884 GB, free: 11.63 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.1452, allocations: 87.69 kB / 0.6885 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.9e-06/0.1452, allocations: 4.656 kB / 0.6885 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.021e-06/0.1452, allocations: 0 / 0.6885 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-06/0.1452, allocations: 0.625 kB / 0.6885 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003009/0.1455, allocations: 93.98 kB / 0.6886 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002496/0.1457, allocations: 280.7 kB / 0.6888 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.1459, allocations: 74.47 kB / 0.6889 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.1461, allocations: 48.92 kB / 0.689 GB, free: 10.99 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000127/0.1462, allocations: 93.16 kB / 0.6891 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/0.1463, allocations: 34.56 kB / 0.6891 GB, free: 10.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.1463, allocations: 0 / 0.6891 GB, free: 10.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005079/0.1468, allocations: 165.5 kB / 0.6892 GB, free: 10.67 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.1468, allocations: 55.41 kB / 0.6893 GB, free: 10.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.633e-05/0.1469, allocations: 117.8 kB / 0.6894 GB, free: 10.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.1469, allocations: 25.7 kB / 0.6894 GB, free: 10.45 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.313e-05/0.147, allocations: 92.12 kB / 0.6895 GB, free: 10.35 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.358e-05/0.147, allocations: 7.906 kB / 0.6895 GB, free: 10.34 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.983e-05/0.147, allocations: 9.719 kB / 0.6895 GB, free: 10.33 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.354e-05/0.1471, allocations: 322.8 kB / 0.6898 GB, free: 10 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.1473, allocations: 43.95 kB / 0.6899 GB, free: 9.961 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.1474, allocations: 43.97 kB / 0.6899 GB, free: 9.918 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/0.1477, allocations: 88.78 kB / 0.69 GB, free: 9.828 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.1477, allocations: 0 / 0.69 GB, free: 9.828 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003199/0.148, allocations: 129.5 kB / 0.6901 GB, free: 9.695 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.877e-06/0.148, allocations: 6.031 kB / 0.6901 GB, free: 9.691 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.148, allocations: 4 kB / 0.6901 GB, free: 9.688 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.981e-06/0.1481, allocations: 7.922 kB / 0.6902 GB, free: 9.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.1482, allocations: 24.25 kB / 0.6902 GB, free: 9.656 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.1482, allocations: 4 kB / 0.6902 GB, free: 9.652 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.909e-05/0.1483, allocations: 19.92 kB / 0.6902 GB, free: 9.633 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.1483, allocations: 0 / 0.6902 GB, free: 9.633 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 6.47e-05/0.1483, allocations: 118.4 kB / 0.6903 GB, free: 9.508 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.1484, allocations: 3.906 kB / 0.6903 GB, free: 9.504 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003443/0.1487, allocations: 129.5 kB / 0.6904 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1487, allocations: 3.984 kB / 0.6904 GB, free: 9.363 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.1487, allocations: 4 kB / 0.6905 GB, free: 9.359 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.614e-06/0.1488, allocations: 0 / 0.6905 GB, free: 9.359 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.1489, allocations: 173.6 kB / 0.6906 GB, free: 9.141 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1489, allocations: 4 kB / 0.6906 GB, free: 9.137 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.149, allocations: 27.91 kB / 0.6906 GB, free: 9.109 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.149, allocations: 4 kB / 0.6907 GB, free: 9.105 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-06/0.149, allocations: 0 / 0.6907 GB, free: 9.105 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.149, allocations: 0 / 0.6907 GB, free: 9.105 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.149, allocations: 4 kB / 0.6907 GB, free: 9.102 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003515/0.1494, allocations: 211.4 kB / 0.6909 GB, free: 8.879 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.499e-05/0.1494, allocations: 89 kB / 0.6909 GB, free: 8.773 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.1495, allocations: 4 kB / 0.6909 GB, free: 8.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.1496, allocations: 15.98 kB / 0.691 GB, free: 8.754 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.498e-05/0.1496, allocations: 0 / 0.691 GB, free: 8.754 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-06/0.1496, allocations: 11.98 kB / 0.691 GB, free: 8.742 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.059e-05/0.1497, allocations: 87.28 kB / 0.6911 GB, free: 8.656 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1497, allocations: 0 / 0.6911 GB, free: 8.656 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002345/0.1499, allocations: 35.98 kB / 0.6911 GB, free: 8.621 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.0006446/0.1505, allocations: 0.7824 MB / 0.6919 GB, free: 7.812 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003183/0.1509, allocations: 95.92 kB / 0.6919 GB, free: 7.719 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.1509, allocations: 0 / 0.6919 GB, free: 7.719 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.1511, allocations: 47.91 kB / 0.692 GB, free: 7.672 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.1513, allocations: 10.09 kB / 0.692 GB, free: 7.664 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.1528, allocations: 1.499 MB / 0.6935 GB, free: 6.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001959/0.1531, allocations: 0.6809 MB / 0.6941 GB, free: 5.383 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.798e-05/0.1531, allocations: 7.938 kB / 0.6941 GB, free: 5.375 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.191e-05/0.1531, allocations: 19.42 kB / 0.6942 GB, free: 5.355 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1531, allocations: 0 / 0.6942 GB, free: 5.355 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2082/0.3614, allocations: 2.12 MB / 0.6962 GB, free: 3.387 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002442/0.3616, allocations: 218.9 kB / 0.6964 GB, free: 3.125 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.042/2.404, allocations: 2.75 kB / 0.6964 GB, free: 3.125 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)