Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 104.4 kB / 16.35 MB, free: 5.875 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.001206/0.001206, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7937/0.7937, allocations: 132.2 MB / 423.3 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.91 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3753, allocations: 80.19 MB / 0.5815 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.00349/0.3788, allocations: 1.402 MB / 0.5829 GB, free: 26.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000606/0.3794, allocations: 214.5 kB / 0.5831 GB, free: 26.35 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.663e-05/0.3795, allocations: 1.312 kB / 0.5831 GB, free: 26.35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.656e-05/0.3796, allocations: 3.938 kB / 0.5831 GB, free: 26.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.121e-05/0.3796, allocations: 10.83 kB / 0.5831 GB, free: 26.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.3799, allocations: 21.25 kB / 0.5831 GB, free: 26.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.3801, allocations: 21.47 kB / 0.5831 GB, free: 26.31 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.3802, allocations: 8.734 kB / 0.5831 GB, free: 26.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.22e-05/0.3803, allocations: 12.05 kB / 0.5831 GB, free: 26.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.057e-05/0.3804, allocations: 15.67 kB / 0.5831 GB, free: 26.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.3804, allocations: 2.375 kB / 0.5831 GB, free: 26.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.3806, allocations: 23.77 kB / 0.5832 GB, free: 26.28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.735e-05/0.3806, allocations: 1.375 kB / 0.5832 GB, free: 26.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.943e-05/0.3806, allocations: 14.92 kB / 0.5832 GB, free: 26.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.3808, allocations: 37.73 kB / 0.5832 GB, free: 26.24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.3808, allocations: 0 / 0.5832 GB, free: 26.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.3809, allocations: 1.25 kB / 0.5832 GB, free: 26.24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.3809, allocations: 1.375 kB / 0.5832 GB, free: 26.24 MB / 446.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.0006137/0.3815, allocations: 344.7 kB / 0.5836 GB, free: 25.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.619e-05/0.3816, allocations: 11.34 kB / 0.5836 GB, free: 25.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002033/0.3818, allocations: 2.469 kB / 0.5836 GB, free: 25.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.3819, allocations: 173.8 kB / 0.5837 GB, free: 25.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.382, allocations: 6.047 kB / 0.5837 GB, free: 25.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.382, allocations: 1.719 kB / 0.5837 GB, free: 25.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002429/0.3823, allocations: 51.92 kB / 0.5838 GB, free: 25.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.3823, allocations: 192 / 0.5838 GB, free: 25.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.3823, allocations: 5.5 kB / 0.5838 GB, free: 25.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3823, allocations: 0 / 0.5838 GB, free: 25.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002816/0.3826, allocations: 29.84 kB / 0.5838 GB, free: 25.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004213/0.3831, allocations: 250.5 kB / 0.5841 GB, free: 25.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.3833, allocations: 42.41 kB / 0.5841 GB, free: 25.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.3834, allocations: 22.53 kB / 0.5841 GB, free: 25.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.3835, allocations: 3.938 kB / 0.5841 GB, free: 25.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.3835, allocations: 34.56 kB / 0.5842 GB, free: 25.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.713e-06/0.3835, allocations: 0 / 0.5842 GB, free: 25.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005965/0.3841, allocations: 77.2 kB / 0.5842 GB, free: 25.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.3842, allocations: 57.44 kB / 0.5843 GB, free: 25.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.246e-05/0.3843, allocations: 103.1 kB / 0.5844 GB, free: 25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.3843, allocations: 25.7 kB / 0.5844 GB, free: 24.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.588e-05/0.3843, allocations: 85.64 kB / 0.5845 GB, free: 24.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.3844, allocations: 10.19 kB / 0.5845 GB, free: 24.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/0.3844, allocations: 16.64 kB / 0.5845 GB, free: 24.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.026e-05/0.3845, allocations: 312.9 kB / 0.5848 GB, free: 24.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.3847, allocations: 17.7 kB / 0.5848 GB, free: 24.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.3848, allocations: 13.55 kB / 0.5848 GB, free: 24.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.3851, allocations: 41.5 kB / 0.5849 GB, free: 24.51 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3851, allocations: 2.031 kB / 0.5849 GB, free: 24.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002939/0.3854, allocations: 71.73 kB / 0.585 GB, free: 24.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.3855, allocations: 10.08 kB / 0.585 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.3855, allocations: 1.344 kB / 0.585 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.3855, allocations: 1.094 kB / 0.585 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.3857, allocations: 5.281 kB / 0.585 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.577e-06/0.3857, allocations: 2.438 kB / 0.585 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.465e-05/0.3858, allocations: 11.83 kB / 0.585 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.3858, allocations: 0 / 0.585 GB, free: 24.45 MB / 446.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 7.388e-05/0.3859, allocations: 112.7 kB / 0.5851 GB, free: 24.33 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.386, allocations: 5.25 kB / 0.5851 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003887/0.3864, allocations: 80.45 kB / 0.5852 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3864, allocations: 0 / 0.5852 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3864, allocations: 1.141 kB / 0.5852 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.3864, allocations: 3.984 kB / 0.5852 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.3867, allocations: 170.6 kB / 0.5853 GB, free: 24.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3867, allocations: 1.25 kB / 0.5853 GB, free: 24.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.3868, allocations: 8.469 kB / 0.5854 GB, free: 24.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.3868, allocations: 6.266 kB / 0.5854 GB, free: 24.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.3868, allocations: 0 / 0.5854 GB, free: 24.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3869, allocations: 5.469 kB / 0.5854 GB, free: 24.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3869, allocations: 0 / 0.5854 GB, free: 24.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003469/0.3872, allocations: 166.4 kB / 0.5855 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.407e-05/0.3873, allocations: 79.52 kB / 0.5856 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.3873, allocations: 0 / 0.5856 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.3874, allocations: 8.484 kB / 0.5856 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.3875, allocations: 1.594 kB / 0.5856 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-06/0.3875, allocations: 2.625 kB / 0.5856 GB, free: 23.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.548e-05/0.3876, allocations: 90.02 kB / 0.5857 GB, free: 23.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3876, allocations: 5.375 kB / 0.5857 GB, free: 23.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004002/0.388, allocations: 4.094 kB / 0.5857 GB, free: 23.7 MB / 446.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 (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.0001223/0.3881, allocations: 100.3 kB / 0.5858 GB, free: 23.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003569/0.3885, allocations: 39.14 kB / 0.5858 GB, free: 23.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.3885, allocations: 1.719 kB / 0.5858 GB, free: 23.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.3887, allocations: 20.55 kB / 0.5859 GB, free: 23.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.3892, allocations: 8.625 kB / 0.5859 GB, free: 23.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004316/0.3896, allocations: 127.5 kB / 0.586 GB, free: 23.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.3898, allocations: 0.6786 MB / 0.5867 GB, free: 22.76 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.347e-05/0.3898, allocations: 0 / 0.5867 GB, free: 22.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.813e-05/0.3899, allocations: 9.125 kB / 0.5867 GB, free: 22.75 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3899, allocations: 0 / 0.5867 GB, free: 22.75 MB / 446.1 MB Notification: Performance of Templates: time 0.004158/0.3941, allocations: 495.6 kB / 0.5871 GB, free: 22.52 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)