Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001133/0.001133, allocations: 103.5 kB / 16.41 MB, free: 6.469 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.001169/0.001169, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7946/0.7946, allocations: 132.2 MB / 423.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 63.28 kB / 0.582 GB, free: 23.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1462, allocations: 80.21 MB / 0.6603 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002718/0.1489, allocations: 1.662 MB / 0.6619 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007237/0.1497, allocations: 406.7 kB / 0.6623 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.091e-05/0.1498, allocations: 0 / 0.6623 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.1499, allocations: 7.875 kB / 0.6623 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.433e-05/0.15, allocations: 27.72 kB / 0.6624 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004816/0.1505, allocations: 119.6 kB / 0.6625 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.1507, allocations: 107.6 kB / 0.6626 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.1508, allocations: 43.89 kB / 0.6626 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.949e-05/0.1509, allocations: 43.83 kB / 0.6627 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.595e-05/0.151, allocations: 43.78 kB / 0.6627 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.151, allocations: 8 kB / 0.6627 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.1511, allocations: 63.95 kB / 0.6628 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.131e-05/0.1512, allocations: 23.92 kB / 0.6628 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.635e-05/0.1512, allocations: 47.78 kB / 0.6628 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.1515, allocations: 123.6 kB / 0.663 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1515, allocations: 4 kB / 0.663 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1515, allocations: 4 kB / 0.663 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.1515, allocations: 0 / 0.663 GB, free: 7.656 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005661/0.1521, allocations: 415.1 kB / 0.6634 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.1521, allocations: 12.03 kB / 0.6634 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000239/0.1524, allocations: 28.73 kB / 0.6634 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.1526, allocations: 196.2 kB / 0.6636 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.04e-05/0.1527, allocations: 42.25 kB / 0.6636 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.1527, allocations: 8.375 kB / 0.6636 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.153, allocations: 102.1 kB / 0.6637 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.153, allocations: 3.938 kB / 0.6637 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.153, allocations: 4 kB / 0.6637 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.153, allocations: 7.938 kB / 0.6638 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002357/0.1533, allocations: 75.94 kB / 0.6638 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006659/0.1539, allocations: 388.5 kB / 0.6642 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005449/0.1545, allocations: 122.6 kB / 0.6643 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.1546, allocations: 48.88 kB / 0.6644 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.1547, allocations: 0 / 0.6644 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.1547, allocations: 38.5 kB / 0.6644 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.1547, allocations: 0 / 0.6644 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0004102/0.1551, allocations: 133.7 kB / 0.6645 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.1551, allocations: 55.41 kB / 0.6646 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.1553, allocations: 143.5 kB / 0.6647 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.1553, allocations: 25.7 kB / 0.6647 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.039e-05/0.1553, allocations: 100.1 kB / 0.6648 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.1554, allocations: 19.59 kB / 0.6648 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.1554, allocations: 29.7 kB / 0.6649 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.795e-05/0.1555, allocations: 314.8 kB / 0.6652 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.1556, allocations: 31.97 kB / 0.6652 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.1558, allocations: 53.62 kB / 0.6653 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.1559, allocations: 73.69 kB / 0.6653 GB, free: 5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.156, allocations: 0 / 0.6653 GB, free: 5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002569/0.1562, allocations: 114 kB / 0.6654 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.1562, allocations: 12.03 kB / 0.6655 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1563, allocations: 4.062 kB / 0.6655 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.1563, allocations: 0 / 0.6655 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.1564, allocations: 19.92 kB / 0.6655 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1564, allocations: 7.984 kB / 0.6655 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.557e-05/0.1565, allocations: 11.84 kB / 0.6655 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.1565, allocations: 7.984 kB / 0.6655 GB, free: 4.82 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 8.175e-05/0.1566, allocations: 114.7 kB / 0.6656 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.1566, allocations: 15.89 kB / 0.6656 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.646e-05/0.1567, allocations: 12.72 kB / 0.6656 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1567, allocations: 7.875 kB / 0.6656 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1567, allocations: 0 / 0.6656 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1567, allocations: 3.938 kB / 0.6656 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.1569, allocations: 201.6 kB / 0.6658 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1569, allocations: 0 / 0.6658 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.157, allocations: 15.98 kB / 0.6659 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1571, allocations: 0 / 0.6659 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.1571, allocations: 4 kB / 0.6659 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.1571, allocations: 7.938 kB / 0.6659 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1571, allocations: 0 / 0.6659 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.1574, allocations: 199.4 kB / 0.6661 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.046e-05/0.1574, allocations: 81.02 kB / 0.6661 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.1575, allocations: 7.984 kB / 0.6661 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.1576, allocations: 15.92 kB / 0.6662 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.1577, allocations: 11.94 kB / 0.6662 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.1577, allocations: 4 kB / 0.6662 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.955e-05/0.1578, allocations: 105.4 kB / 0.6663 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1578, allocations: 4 kB / 0.6663 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000251/0.158, allocations: 23.91 kB / 0.6663 GB, free: 3.902 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 9.666e-05/0.1581, allocations: 95.25 kB / 0.6664 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002705/0.1584, allocations: 71.95 kB / 0.6665 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.1584, allocations: 0 / 0.6665 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.1585, allocations: 43.91 kB / 0.6665 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.1589, allocations: 27.92 kB / 0.6665 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004566/0.1593, allocations: 230.7 kB / 0.6667 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.1596, allocations: 0.6963 MB / 0.6674 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.268e-05/0.1596, allocations: 11.44 kB / 0.6674 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.1596, allocations: 0 / 0.6674 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of Templates: time 0.002752/0.1624, allocations: 1.331 MB / 0.6687 GB, free: 1.344 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)