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.001152/0.001152, allocations: 109.3 kB / 15.7 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 196.1 kB / 16.63 MB, free: 6.609 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.301/1.301, allocations: 222.9 MB / 240.3 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002246/0.002247, allocations: 283.1 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9549/0.9549, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 95.86 kB / 0.6814 GB, free: 15.54 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1715, allocations: 86.98 MB / 0.7663 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002971/0.1745, allocations: 1.274 MB / 0.7676 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.1758, allocations: 0.8191 MB / 0.7684 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.7e-05/0.1759, allocations: 0 / 0.7684 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.077e-05/0.1759, allocations: 3.938 kB / 0.7684 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.491e-05/0.176, allocations: 3.938 kB / 0.7684 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005697/0.1766, allocations: 135.4 kB / 0.7685 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.081e-05/0.1766, allocations: 27.86 kB / 0.7685 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.698e-05/0.1767, allocations: 0 / 0.7685 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.132e-05/0.1767, allocations: 11.94 kB / 0.7685 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.181e-05/0.1768, allocations: 15.98 kB / 0.7686 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.1768, allocations: 0 / 0.7686 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003528/0.1772, allocations: 167.8 kB / 0.7687 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.065e-05/0.1772, allocations: 4 kB / 0.7687 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.1772, allocations: 11.92 kB / 0.7687 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.1775, allocations: 123.7 kB / 0.7689 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.1775, allocations: 0 / 0.7689 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.344e-06/0.1775, allocations: 3.938 kB / 0.7689 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.1776, allocations: 0 / 0.7689 GB, free: 5.867 MB / 0.5606 GB 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.0005168/0.1781, allocations: 363.4 kB / 0.7692 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.1781, allocations: 8.031 kB / 0.7692 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.666e-05/0.1782, allocations: 8.875 kB / 0.7692 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.1784, allocations: 164.4 kB / 0.7694 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.69e-05/0.1785, allocations: 30.27 kB / 0.7694 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.1785, allocations: 4.375 kB / 0.7694 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.1786, allocations: 38.25 kB / 0.7694 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.1787, allocations: 3.938 kB / 0.7695 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.831e-05/0.1787, allocations: 8 kB / 0.7695 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.1787, allocations: 7.938 kB / 0.7695 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.636e-05/0.1788, allocations: 11.98 kB / 0.7695 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.179, allocations: 161.7 kB / 0.7696 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.1793, allocations: 38.7 kB / 0.7697 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.049e-05/0.1793, allocations: 20.84 kB / 0.7697 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000311/0.1797, allocations: 182.2 kB / 0.7699 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.1797, allocations: 34.56 kB / 0.7699 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 3.636e-06/0.1797, allocations: 3.984 kB / 0.7699 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0002725/0.18, allocations: 73.45 kB / 0.77 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.1801, allocations: 55.41 kB / 0.77 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.422e-05/0.1801, allocations: 97.84 kB / 0.7701 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.1801, allocations: 29.7 kB / 0.7701 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.188e-05/0.1802, allocations: 84.14 kB / 0.7702 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.449e-05/0.1802, allocations: 19.73 kB / 0.7702 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.034e-05/0.1803, allocations: 13.72 kB / 0.7703 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1804, allocations: 314.8 kB / 0.7706 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.083e-05/0.1805, allocations: 11.98 kB / 0.7706 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.361e-05/0.1805, allocations: 12 kB / 0.7706 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.27e-05/0.1806, allocations: 28.8 kB / 0.7706 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1806, allocations: 0 / 0.7706 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001356/0.1808, allocations: 61.67 kB / 0.7707 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1808, allocations: 7.938 kB / 0.7707 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1808, allocations: 0 / 0.7707 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1808, allocations: 0 / 0.7707 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.275e-05/0.1809, allocations: 8 kB / 0.7707 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.1809, allocations: 0 / 0.7707 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.337e-05/0.1809, allocations: 7.984 kB / 0.7707 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.1809, allocations: 4 kB / 0.7707 GB, free: 3.719 MB / 0.5606 GB 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 7.956e-05/0.181, allocations: 106.5 kB / 0.7708 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.726e-05/0.181, allocations: 11.88 kB / 0.7708 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001844/0.1812, allocations: 69.11 kB / 0.7709 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1812, allocations: 7.938 kB / 0.7709 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1813, allocations: 0 / 0.7709 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1813, allocations: 0 / 0.7709 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.1814, allocations: 157.7 kB / 0.771 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1814, allocations: 4 kB / 0.771 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.908e-05/0.1815, allocations: 11.98 kB / 0.771 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.1815, allocations: 3.938 kB / 0.771 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.1815, allocations: 0 / 0.771 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.1815, allocations: 0 / 0.771 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1815, allocations: 0 / 0.771 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.1817, allocations: 93.53 kB / 0.7711 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.295e-05/0.1817, allocations: 81.11 kB / 0.7712 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.1818, allocations: 7.938 kB / 0.7712 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.156e-05/0.1818, allocations: 7.984 kB / 0.7712 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.1819, allocations: 4 kB / 0.7712 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.1819, allocations: 0 / 0.7712 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.299e-05/0.1819, allocations: 83.31 kB / 0.7713 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/0.1819, allocations: 0 / 0.7713 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002541/0.1822, allocations: 43.92 kB / 0.7714 GB, free: 2.938 MB / 0.5606 GB 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.0002676/0.1825, allocations: 135.2 kB / 0.7715 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001812/0.1827, allocations: 27.92 kB / 0.7715 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1827, allocations: 4 kB / 0.7715 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.462e-05/0.1827, allocations: 12 kB / 0.7715 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.183, allocations: 7.984 kB / 0.7715 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003341/0.1833, allocations: 119.3 kB / 0.7716 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.1836, allocations: 0.6807 MB / 0.7723 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.275e-05/0.1836, allocations: 4 kB / 0.7723 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.403e-05/0.1837, allocations: 19.38 kB / 0.7723 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.1837, allocations: 0 / 0.7723 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of Templates: time 0.003497/0.1872, allocations: 1.065 MB / 0.7734 GB, free: 0.8086 MB / 0.5606 GB 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)