Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007456/0.007457, allocations: 108.3 kB / 15.74 MB, free: 6.055 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.001841/0.001841, allocations: 198.1 kB / 16.68 MB, free: 5.965 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7988/0.7988, allocations: 135.1 MB / 425.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 67.39 kB / 0.5856 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1772, allocations: 80.92 MB / 0.6646 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002789/0.1801, allocations: 1.495 MB / 0.6661 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00137/0.1815, allocations: 0.803 MB / 0.6669 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.057e-05/0.1815, allocations: 0 / 0.6669 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.921e-05/0.1815, allocations: 3.938 kB / 0.6669 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.705e-05/0.1816, allocations: 15.84 kB / 0.6669 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004601/0.1821, allocations: 131.4 kB / 0.667 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.496e-05/0.1822, allocations: 55.78 kB / 0.6671 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1823, allocations: 15.97 kB / 0.6671 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.366e-05/0.1824, allocations: 23.92 kB / 0.6671 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.011e-05/0.1824, allocations: 23.92 kB / 0.6671 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.1824, allocations: 4 kB / 0.6671 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003167/0.1828, allocations: 163.8 kB / 0.6673 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.365e-05/0.1828, allocations: 23.91 kB / 0.6673 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.228e-05/0.1828, allocations: 23.81 kB / 0.6673 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.1831, allocations: 143.6 kB / 0.6675 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1832, allocations: 0 / 0.6675 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1832, allocations: 0 / 0.6675 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.1832, allocations: 0 / 0.6675 GB, free: 2.902 MB / 0.4981 GB 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.000676/0.1839, allocations: 403.1 kB / 0.6678 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.1839, allocations: 9.109 kB / 0.6679 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.184, allocations: 12.84 kB / 0.6679 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.1842, allocations: 168.3 kB / 0.668 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.1842, allocations: 4.375 kB / 0.668 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.1842, allocations: 8.312 kB / 0.668 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.1844, allocations: 70.2 kB / 0.6681 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1845, allocations: 4.188 kB / 0.6681 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1845, allocations: 3.938 kB / 0.6681 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.1845, allocations: 0 / 0.6681 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002518/0.1847, allocations: 71.92 kB / 0.6682 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003812/0.1851, allocations: 284.7 kB / 0.6685 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.1853, allocations: 54.55 kB / 0.6685 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.1855, allocations: 44.84 kB / 0.6685 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001903/0.1857, allocations: 93.08 kB / 0.6686 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001231/0.1858, allocations: 34.56 kB / 0.6687 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.1858, allocations: 0 / 0.6687 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000488/0.1863, allocations: 133.4 kB / 0.6688 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.1863, allocations: 51.41 kB / 0.6688 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.1865, allocations: 125.8 kB / 0.669 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.1865, allocations: 25.7 kB / 0.669 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.04e-05/0.1865, allocations: 88.22 kB / 0.6691 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.1866, allocations: 15.8 kB / 0.6691 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.1866, allocations: 21.7 kB / 0.6691 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1867, allocations: 318.8 kB / 0.6694 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.1868, allocations: 27.97 kB / 0.6694 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.187, allocations: 35.95 kB / 0.6695 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/0.1872, allocations: 72.72 kB / 0.6695 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1872, allocations: 0 / 0.6695 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002709/0.1875, allocations: 101.6 kB / 0.6696 GB, free: 432 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1875, allocations: 5.719 kB / 0.6696 GB, free: 428 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1875, allocations: 0 / 0.6696 GB, free: 428 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.1876, allocations: 4 kB / 0.6697 GB, free: 424 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.1877, allocations: 15.98 kB / 0.6697 GB, free: 408 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.1877, allocations: 0 / 0.6697 GB, free: 408 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.135e-05/0.1878, allocations: 15.97 kB / 0.6697 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-06/0.1878, allocations: 0 / 0.6697 GB, free: 392 kB / 0.4981 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 (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 8.244e-05/0.1879, allocations: 117.8 kB / 0.6698 GB, free: 264 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.1879, allocations: 3.906 kB / 0.6698 GB, free: 260 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003169/0.1882, allocations: 113.5 kB / 0.6699 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1882, allocations: 0 / 0.6699 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1882, allocations: 0 / 0.6699 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1883, allocations: 4 kB / 0.6699 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.1884, allocations: 177.5 kB / 0.6701 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.1884, allocations: 0 / 0.6701 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.101e-05/0.1885, allocations: 11.98 kB / 0.6701 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.1885, allocations: 12 kB / 0.6701 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.1886, allocations: 0 / 0.6701 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1886, allocations: 0 / 0.6701 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1886, allocations: 0 / 0.6701 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.1889, allocations: 199.3 kB / 0.6703 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.85e-05/0.1889, allocations: 85.11 kB / 0.6704 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.189, allocations: 0 / 0.6704 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.949e-05/0.1891, allocations: 12.41 kB / 0.6704 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.1891, allocations: 3.984 kB / 0.6704 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-06/0.1891, allocations: 11.88 kB / 0.6704 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.233e-05/0.1892, allocations: 95.27 kB / 0.6705 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1892, allocations: 0 / 0.6705 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002593/0.1895, allocations: 24 kB / 0.6705 GB, free: 15.43 MB / 0.5137 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 (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.00023/0.1897, allocations: 140.4 kB / 0.6706 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003166/0.19, allocations: 67.91 kB / 0.6707 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.19, allocations: 0 / 0.6707 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.1902, allocations: 39.97 kB / 0.6707 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.1905, allocations: 15.92 kB / 0.6708 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003298/0.1908, allocations: 155.8 kB / 0.6709 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.1911, allocations: 0.6846 MB / 0.6716 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.087e-05/0.1911, allocations: 4 kB / 0.6716 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.578e-05/0.1912, allocations: 11.44 kB / 0.6716 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1912, allocations: 0 / 0.6716 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of Templates: time 0.00382/0.195, allocations: 1.365 MB / 0.6729 GB, free: 12.9 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)