Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001016, allocations: 108.9 kB / 16.37 MB, free: 6.465 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.001099/0.001099, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.25/1.25, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002053/0.002053, allocations: 288.2 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.886/0.886, allocations: 169.3 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 90.3 kB / 0.5967 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1474, allocations: 86.97 MB / 0.6816 GB, free: 7.484 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002271/0.1497, allocations: 1.266 MB / 0.6828 GB, free: 6.207 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.1509, allocations: 0.831 MB / 0.6837 GB, free: 5.371 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.711e-05/0.151, allocations: 0 / 0.6837 GB, free: 5.371 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.95e-05/0.151, allocations: 4 kB / 0.6837 GB, free: 5.367 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.417e-05/0.1511, allocations: 3.938 kB / 0.6837 GB, free: 5.363 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004609/0.1515, allocations: 127.4 kB / 0.6838 GB, free: 5.238 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.941e-05/0.1516, allocations: 27.86 kB / 0.6838 GB, free: 5.211 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.439e-05/0.1517, allocations: 7.984 kB / 0.6838 GB, free: 5.203 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.731e-05/0.1517, allocations: 7.984 kB / 0.6838 GB, free: 5.195 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.291e-05/0.1518, allocations: 11.94 kB / 0.6838 GB, free: 5.184 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.1518, allocations: 8 kB / 0.6838 GB, free: 5.176 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000293/0.1521, allocations: 167.7 kB / 0.684 GB, free: 5.012 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.1521, allocations: 7.984 kB / 0.684 GB, free: 5.004 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.525e-05/0.1521, allocations: 11.94 kB / 0.684 GB, free: 4.992 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.1524, allocations: 115.7 kB / 0.6841 GB, free: 4.879 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1524, allocations: 0 / 0.6841 GB, free: 4.879 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1524, allocations: 4 kB / 0.6841 GB, free: 4.875 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.1524, allocations: 0 / 0.6841 GB, free: 4.875 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003702/0.1528, allocations: 355.5 kB / 0.6845 GB, free: 4.477 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.853e-05/0.1528, allocations: 20.02 kB / 0.6845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.031e-05/0.1529, allocations: 0.9375 kB / 0.6845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.706e-05/0.153, allocations: 168.3 kB / 0.6847 GB, free: 4.254 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.496e-05/0.153, allocations: 30.2 kB / 0.6847 GB, free: 4.219 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.153, allocations: 4.375 kB / 0.6847 GB, free: 4.215 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.1532, allocations: 46.23 kB / 0.6847 GB, free: 4.164 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.1532, allocations: 3.938 kB / 0.6847 GB, free: 4.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.1532, allocations: 3.938 kB / 0.6847 GB, free: 4.156 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1532, allocations: 0 / 0.6847 GB, free: 4.156 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.72e-05/0.1533, allocations: 23.98 kB / 0.6848 GB, free: 4.133 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001328/0.1534, allocations: 153.7 kB / 0.6849 GB, free: 3.934 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.1536, allocations: 50.5 kB / 0.685 GB, free: 3.875 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.397e-05/0.1537, allocations: 16.86 kB / 0.685 GB, free: 3.855 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002615/0.1539, allocations: 182.3 kB / 0.6852 GB, free: 3.641 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.154, allocations: 30.56 kB / 0.6852 GB, free: 3.602 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.083e-06/0.154, allocations: 0 / 0.6852 GB, free: 3.602 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002144/0.1542, allocations: 69.61 kB / 0.6852 GB, free: 3.527 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.1542, allocations: 51.41 kB / 0.6853 GB, free: 3.465 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.551e-05/0.1543, allocations: 101.8 kB / 0.6854 GB, free: 3.355 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.1543, allocations: 25.7 kB / 0.6854 GB, free: 3.324 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.512e-05/0.1543, allocations: 88.08 kB / 0.6855 GB, free: 3.234 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.1544, allocations: 15.69 kB / 0.6855 GB, free: 3.219 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.817e-05/0.1544, allocations: 17.72 kB / 0.6855 GB, free: 3.195 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.631e-05/0.1545, allocations: 318.8 kB / 0.6858 GB, free: 2.875 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.521e-05/0.1546, allocations: 8 kB / 0.6858 GB, free: 2.867 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.88e-05/0.1546, allocations: 11.98 kB / 0.6859 GB, free: 2.855 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.406e-05/0.1547, allocations: 29.31 kB / 0.6859 GB, free: 2.824 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.1547, allocations: 8 kB / 0.6859 GB, free: 2.816 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001218/0.1548, allocations: 53.67 kB / 0.6859 GB, free: 2.758 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1549, allocations: 11.94 kB / 0.686 GB, free: 2.746 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1549, allocations: 0 / 0.686 GB, free: 2.746 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.1549, allocations: 0 / 0.686 GB, free: 2.746 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.604e-05/0.1549, allocations: 15.92 kB / 0.686 GB, free: 2.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.155, allocations: 0 / 0.686 GB, free: 2.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.789e-05/0.155, allocations: 0 / 0.686 GB, free: 2.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-06/0.155, allocations: 0 / 0.686 GB, free: 2.73 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 (4): * Single equations (assignments): 4 * 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 8.876e-05/0.1551, allocations: 117.8 kB / 0.6861 GB, free: 2.605 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.1551, allocations: 7.844 kB / 0.6861 GB, free: 2.598 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001777/0.1553, allocations: 65.17 kB / 0.6862 GB, free: 2.523 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1553, allocations: 0 / 0.6862 GB, free: 2.523 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.1553, allocations: 0 / 0.6862 GB, free: 2.523 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1553, allocations: 3.984 kB / 0.6862 GB, free: 2.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.1555, allocations: 157.7 kB / 0.6863 GB, free: 2.316 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1555, allocations: 0 / 0.6863 GB, free: 2.316 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.487e-05/0.1555, allocations: 7.938 kB / 0.6863 GB, free: 2.309 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1555, allocations: 7.938 kB / 0.6863 GB, free: 2.301 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.1555, allocations: 8 kB / 0.6863 GB, free: 2.293 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1555, allocations: 0 / 0.6863 GB, free: 2.293 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1556, allocations: 0 / 0.6863 GB, free: 2.293 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.1557, allocations: 85.05 kB / 0.6864 GB, free: 2.191 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.346e-05/0.1558, allocations: 77.11 kB / 0.6865 GB, free: 2.098 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.1558, allocations: 7.922 kB / 0.6865 GB, free: 2.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.999e-05/0.1559, allocations: 8 kB / 0.6865 GB, free: 2.082 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.1559, allocations: 0 / 0.6865 GB, free: 2.082 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-06/0.1559, allocations: 4 kB / 0.6865 GB, free: 2.078 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.02e-05/0.156, allocations: 83.27 kB / 0.6866 GB, free: 1.996 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.156, allocations: 3.938 kB / 0.6866 GB, free: 1.992 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000236/0.1562, allocations: 31.94 kB / 0.6866 GB, free: 1.961 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 (4): * Single equations (assignments): 4 * 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.0002436/0.1565, allocations: 143.1 kB / 0.6868 GB, free: 1.809 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000154/0.1566, allocations: 31.98 kB / 0.6868 GB, free: 1.777 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1566, allocations: 0 / 0.6868 GB, free: 1.777 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.671e-05/0.1567, allocations: 11.98 kB / 0.6868 GB, free: 1.766 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.1569, allocations: 9.125 kB / 0.6868 GB, free: 1.758 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003057/0.1572, allocations: 127.1 kB / 0.6869 GB, free: 1.609 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.1575, allocations: 0.6768 MB / 0.6876 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.497e-05/0.1575, allocations: 4.469 kB / 0.6876 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.888e-05/0.1576, allocations: 11.44 kB / 0.6876 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1576, allocations: 0 / 0.6876 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of Templates: time 0.221/0.3785, allocations: 1.071 MB / 0.6886 GB, free: 17.71 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)