Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.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.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001197/0.001197, allocations: 194.9 kB / 16.14 MB, free: 6.707 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.36/1.36, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7808/0.7808, allocations: 132.2 MB / 422.2 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.95 kB / 0.5011 GB, free: 4.309 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4174/0.4187, allocations: 80.19 MB / 0.5794 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002669/0.4214, allocations: 1.468 MB / 0.5808 GB, free: 3.516 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.4224, allocations: 0.6135 MB / 0.5814 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.646e-05/0.4225, allocations: 0.6875 kB / 0.5814 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.648e-05/0.4225, allocations: 4.734 kB / 0.5815 GB, free: 3.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.283e-05/0.4226, allocations: 2.156 kB / 0.5815 GB, free: 3.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000355/0.4229, allocations: 86.94 kB / 0.5815 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.383e-05/0.423, allocations: 24.27 kB / 0.5816 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.76e-05/0.4231, allocations: 8.562 kB / 0.5816 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.277e-05/0.4232, allocations: 9.406 kB / 0.5816 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.703e-05/0.4232, allocations: 10.09 kB / 0.5816 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.4232, allocations: 1.875 kB / 0.5816 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003135/0.4236, allocations: 149.7 kB / 0.5817 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.15e-05/0.4236, allocations: 5.266 kB / 0.5817 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.872e-05/0.4236, allocations: 8.578 kB / 0.5817 GB, free: 2.977 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.4238, allocations: 102.7 kB / 0.5818 GB, free: 2.945 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4239, allocations: 0.5625 kB / 0.5818 GB, free: 2.945 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.4239, allocations: 4.969 kB / 0.5818 GB, free: 2.941 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.4239, allocations: 0 / 0.5818 GB, free: 2.941 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003975/0.4243, allocations: 360.3 kB / 0.5822 GB, free: 2.566 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.4243, allocations: 9.125 kB / 0.5822 GB, free: 2.566 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004526/0.4248, allocations: 26.88 kB / 0.5822 GB, free: 2.566 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.987e-05/0.4249, allocations: 170.3 kB / 0.5824 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-06/0.4249, allocations: 5.625 kB / 0.5824 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.4249, allocations: 2.484 kB / 0.5824 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/0.4251, allocations: 66.08 kB / 0.5825 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.4252, allocations: 192 / 0.5825 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.4252, allocations: 5.781 kB / 0.5825 GB, free: 2.316 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.4252, allocations: 0 / 0.5825 GB, free: 2.316 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002637/0.4255, allocations: 58.8 kB / 0.5825 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004039/0.4259, allocations: 268.6 kB / 0.5828 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002334/0.4261, allocations: 67.03 kB / 0.5828 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.4263, allocations: 34.89 kB / 0.5829 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.4263, allocations: 0.7969 kB / 0.5829 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.4263, allocations: 31.72 kB / 0.5829 GB, free: 1.926 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.4263, allocations: 0 / 0.5829 GB, free: 1.926 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.000542/0.4269, allocations: 116.8 kB / 0.583 GB, free: 1.875 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.4269, allocations: 52.95 kB / 0.5831 GB, free: 1.812 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.672e-05/0.427, allocations: 101.3 kB / 0.5832 GB, free: 1.711 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.427, allocations: 25.7 kB / 0.5832 GB, free: 1.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.677e-05/0.427, allocations: 85.5 kB / 0.5833 GB, free: 1.594 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.4271, allocations: 13.83 kB / 0.5833 GB, free: 1.582 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.4271, allocations: 19.02 kB / 0.5833 GB, free: 1.562 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.869e-05/0.4272, allocations: 312.3 kB / 0.5836 GB, free: 1.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.4273, allocations: 26.5 kB / 0.5836 GB, free: 1.246 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.4274, allocations: 29.27 kB / 0.5837 GB, free: 1.238 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/0.4277, allocations: 59.19 kB / 0.5837 GB, free: 1.219 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4277, allocations: 0 / 0.5837 GB, free: 1.219 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002966/0.428, allocations: 95.42 kB / 0.5838 GB, free: 1.168 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.428, allocations: 5.281 kB / 0.5838 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.428, allocations: 0 / 0.5838 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.4281, allocations: 1.906 kB / 0.5838 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.4282, allocations: 13.23 kB / 0.5838 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.4282, allocations: 0 / 0.5838 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.136e-05/0.4283, allocations: 8.406 kB / 0.5838 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.4283, allocations: 6.438 kB / 0.5838 GB, free: 1.164 MB / 430.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 (2): * Single equations (assignments): 2 * 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 4.835e-05/0.4284, allocations: 114.7 kB / 0.5839 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.4284, allocations: 4.594 kB / 0.5839 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.864e-05/0.4284, allocations: 8.719 kB / 0.584 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.4285, allocations: 1.188 kB / 0.584 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4285, allocations: 0.7031 kB / 0.584 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4285, allocations: 4.828 kB / 0.584 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.4286, allocations: 168.2 kB / 0.5841 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4286, allocations: 8 kB / 0.5841 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.4288, allocations: 18.3 kB / 0.5841 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.4288, allocations: 1.375 kB / 0.5842 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.4288, allocations: 1.219 kB / 0.5842 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4288, allocations: 0 / 0.5842 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4288, allocations: 0.7812 kB / 0.5842 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.4291, allocations: 187.6 kB / 0.5843 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.734e-05/0.4291, allocations: 83.45 kB / 0.5844 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.4292, allocations: 4.656 kB / 0.5844 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.4293, allocations: 8.781 kB / 0.5844 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.4294, allocations: 1.984 kB / 0.5844 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.4294, allocations: 2.453 kB / 0.5844 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.38e-05/0.4294, allocations: 83.83 kB / 0.5845 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4294, allocations: 0 / 0.5845 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000246/0.4297, allocations: 15.59 kB / 0.5845 GB, free: 500 kB / 430.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 (2): * Single equations (assignments): 2 * 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.000157/0.4298, allocations: 105.2 kB / 0.5846 GB, free: 412 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003169/0.4301, allocations: 62.44 kB / 0.5847 GB, free: 396 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4301, allocations: 0 / 0.5847 GB, free: 396 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.4303, allocations: 33.12 kB / 0.5847 GB, free: 388 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.4306, allocations: 16.58 kB / 0.5847 GB, free: 380 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004375/0.4311, allocations: 144.3 kB / 0.5849 GB, free: 248 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.4313, allocations: 0.675 MB / 0.5855 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.135e-05/0.4314, allocations: 8.359 kB / 0.5855 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.4315, allocations: 11.3 kB / 0.5855 GB, free: 15.54 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4315, allocations: 0 / 0.5855 GB, free: 15.54 MB / 446.1 MB Notification: Performance of Templates: time 0.003475/0.4349, allocations: 0.7088 MB / 0.5862 GB, free: 15.45 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)