Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 104.1 kB / 15.88 MB, free: 4 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.001144/0.001144, allocations: 196.1 kB / 16.79 MB, free: 6.832 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.357/1.357, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.037/1.037, allocations: 135.1 MB / 425.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 60 kB / 0.5053 GB, free: 5.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1482, allocations: 80.93 MB / 0.5843 GB, free: 5.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002776/0.1511, allocations: 1.72 MB / 0.586 GB, free: 3.277 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007329/0.1518, allocations: 406.8 kB / 0.5864 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.304e-05/0.1519, allocations: 4 kB / 0.5864 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.383e-05/0.152, allocations: 3.938 kB / 0.5864 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.255e-05/0.1521, allocations: 23.83 kB / 0.5864 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000349/0.1524, allocations: 111.2 kB / 0.5865 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.1526, allocations: 107.6 kB / 0.5866 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.1527, allocations: 31.98 kB / 0.5867 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.732e-05/0.1527, allocations: 39.8 kB / 0.5867 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.139e-05/0.1528, allocations: 43.77 kB / 0.5868 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.1528, allocations: 8 kB / 0.5868 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.153, allocations: 63.94 kB / 0.5868 GB, free: 2.453 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.556e-05/0.153, allocations: 15.92 kB / 0.5868 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.193e-05/0.1531, allocations: 39.8 kB / 0.5869 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.1532, allocations: 88.09 kB / 0.587 GB, free: 2.312 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.1532, allocations: 0 / 0.587 GB, free: 2.312 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.177e-06/0.1532, allocations: 0 / 0.587 GB, free: 2.312 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.1532, allocations: 0 / 0.587 GB, free: 2.312 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005686/0.1538, allocations: 431.1 kB / 0.5874 GB, free: 1.84 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.1539, allocations: 12.03 kB / 0.5874 GB, free: 1.828 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002469/0.1541, allocations: 28.83 kB / 0.5874 GB, free: 1.801 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.1543, allocations: 188.2 kB / 0.5876 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.922e-05/0.1544, allocations: 34.27 kB / 0.5876 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.1544, allocations: 4.375 kB / 0.5876 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/0.1547, allocations: 106.1 kB / 0.5877 GB, free: 1.426 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1547, allocations: 7.875 kB / 0.5877 GB, free: 1.418 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.1547, allocations: 12 kB / 0.5877 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1547, allocations: 0 / 0.5877 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002549/0.155, allocations: 83.92 kB / 0.5878 GB, free: 1.324 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006881/0.1557, allocations: 396.2 kB / 0.5882 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005427/0.1562, allocations: 126.6 kB / 0.5883 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.1564, allocations: 44.88 kB / 0.5884 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.1564, allocations: 0 / 0.5884 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.1564, allocations: 38.5 kB / 0.5884 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.1564, allocations: 0 / 0.5884 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004529/0.1569, allocations: 133.7 kB / 0.5885 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.1569, allocations: 51.41 kB / 0.5886 GB, free: 472 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.1571, allocations: 140.6 kB / 0.5887 GB, free: 324 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.1571, allocations: 29.7 kB / 0.5887 GB, free: 288 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.967e-05/0.1571, allocations: 104 kB / 0.5888 GB, free: 180 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.1572, allocations: 19.66 kB / 0.5889 GB, free: 160 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.499e-05/0.1572, allocations: 21.72 kB / 0.5889 GB, free: 132 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1574, allocations: 318.8 kB / 0.5892 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.1575, allocations: 31.97 kB / 0.5892 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.1576, allocations: 49.78 kB / 0.5893 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.1578, allocations: 77.67 kB / 0.5893 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1578, allocations: 0 / 0.5893 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002651/0.1581, allocations: 113.5 kB / 0.5894 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1581, allocations: 4 kB / 0.5894 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1582, allocations: 4.031 kB / 0.5895 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1582, allocations: 4 kB / 0.5895 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.1583, allocations: 19.92 kB / 0.5895 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.1583, allocations: 0 / 0.5895 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.73e-05/0.1584, allocations: 7.984 kB / 0.5895 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.1584, allocations: 4 kB / 0.5895 GB, free: 15.48 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 9.534e-05/0.1585, allocations: 121.8 kB / 0.5896 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.635e-05/0.1586, allocations: 7.906 kB / 0.5896 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.013e-05/0.1586, allocations: 20.7 kB / 0.5896 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.1586, allocations: 7.875 kB / 0.5896 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1586, allocations: 0 / 0.5896 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1586, allocations: 0 / 0.5896 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.1589, allocations: 209.5 kB / 0.5898 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1589, allocations: 7.938 kB / 0.5898 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.159, allocations: 15.98 kB / 0.5899 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.159, allocations: 0 / 0.5899 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.159, allocations: 0 / 0.5899 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.159, allocations: 3.938 kB / 0.5899 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.159, allocations: 3.938 kB / 0.5899 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/0.1593, allocations: 200 kB / 0.5901 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.062e-05/0.1594, allocations: 85.02 kB / 0.5901 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.1594, allocations: 0 / 0.5901 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.1596, allocations: 19.92 kB / 0.5902 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.1596, allocations: 7.922 kB / 0.5902 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.1597, allocations: 8 kB / 0.5902 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.53e-05/0.1597, allocations: 107.2 kB / 0.5903 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1597, allocations: 0 / 0.5903 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002422/0.16, allocations: 16 kB / 0.5903 GB, free: 14.56 MB / 0.4981 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 (7): * Single equations (assignments): 7 * 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.0001202/0.1601, allocations: 99.25 kB / 0.5904 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002603/0.1604, allocations: 72.03 kB / 0.5905 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1604, allocations: 4.062 kB / 0.5905 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.1605, allocations: 44.05 kB / 0.5905 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.1609, allocations: 19.98 kB / 0.5905 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005062/0.1614, allocations: 270.4 kB / 0.5908 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.1617, allocations: 0.6965 MB / 0.5915 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.545e-05/0.1617, allocations: 11.44 kB / 0.5915 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of SimCode: time 4.31e-07/0.1617, allocations: 0 / 0.5915 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of Templates: time 0.00272/0.1645, allocations: 1.295 MB / 0.5927 GB, free: 12 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)