Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.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/ExternalMedia 4.0.0/package.mo", uses=false) Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.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(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state") translateModel(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004786/0.004786, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001131/0.001131, allocations: 201.5 kB / 16.68 MB, free: 5.969 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1365/0.1365, allocations: 2.762 MB / 293.3 MB, free: 3.715 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 63.91 kB / 405.9 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3143, allocations: 50.22 MB / 456.1 MB, free: 21.17 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.00768/0.322, allocations: 8.123 MB / 464.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005643/0.3226, allocations: 0.9393 MB / 465.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.088e-05/0.3227, allocations: 0 / 465.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002175/0.3229, allocations: 75.75 kB / 465.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.716e-05/0.3229, allocations: 26.17 kB / 465.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002688/0.3232, allocations: 113.8 kB / 465.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.2e-05/0.3233, allocations: 58.86 kB / 465.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.601e-05/0.3234, allocations: 3.531 kB / 465.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.604e-05/0.3234, allocations: 18.91 kB / 465.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.588e-05/0.3234, allocations: 18.88 kB / 465.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.268e-06/0.3234, allocations: 3.094 kB / 465.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.07706/0.4005, allocations: 13.66 MB / 479.1 MB, free: 8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.082e-05/0.4006, allocations: 5.812 kB / 479.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.198e-05/0.4007, allocations: 25.69 kB / 479.2 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005462/0.4012, allocations: 88.22 kB / 479.3 MB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.4012, allocations: 1.094 kB / 479.3 MB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4012, allocations: 0 / 479.3 MB, free: 7.945 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.4013, allocations: 3.938 kB / 479.3 MB, free: 7.941 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004656/0.4017, allocations: 359.4 kB / 479.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.4018, allocations: 13.19 kB / 479.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.402, allocations: 21.33 kB / 479.6 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.411e-05/0.4021, allocations: 163.4 kB / 479.8 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.4021, allocations: 1.594 kB / 479.8 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.4021, allocations: 5.125 kB / 479.8 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.4023, allocations: 69.77 kB / 479.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.4023, allocations: 0 / 479.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.4027, allocations: 0.8906 kB / 479.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.4027, allocations: 7.094 kB / 479.9 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.705e-05/0.4028, allocations: 30.92 kB / 479.9 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004592/0.4032, allocations: 321.3 kB / 480.2 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.439e-05/0.4033, allocations: 51.52 kB / 480.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.935e-05/0.4034, allocations: 31.47 kB / 480.3 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.396e-05/0.4034, allocations: 1.375 kB / 480.3 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.4035, allocations: 32.47 kB / 480.3 MB, free: 6.867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.272e-06/0.4035, allocations: 0 / 480.3 MB, free: 6.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0002748/0.4037, allocations: 125.2 kB / 480.5 MB, free: 6.789 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.4038, allocations: 55.95 kB / 480.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.545e-05/0.4038, allocations: 90.89 kB / 480.6 MB, free: 6.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.065e-06/0.4038, allocations: 25.7 kB / 480.6 MB, free: 6.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.969e-05/0.4039, allocations: 81.86 kB / 480.7 MB, free: 6.512 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.009e-05/0.4039, allocations: 61.59 kB / 480.8 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.404, allocations: 22.34 kB / 480.8 MB, free: 6.441 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.064e-05/0.404, allocations: 319.9 kB / 481.1 MB, free: 6.125 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.668e-05/0.4041, allocations: 28.5 kB / 481.1 MB, free: 6.105 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.853e-05/0.4041, allocations: 16.19 kB / 481.2 MB, free: 6.098 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.523e-05/0.4042, allocations: 57.45 kB / 481.2 MB, free: 6.062 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4042, allocations: 0 / 481.2 MB, free: 6.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001257/0.4043, allocations: 85.91 kB / 481.3 MB, free: 6.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.4044, allocations: 6.891 kB / 481.3 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.4044, allocations: 0 / 481.3 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.4044, allocations: 3.938 kB / 481.3 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.151e-05/0.4045, allocations: 4.281 kB / 481.3 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.4045, allocations: 0 / 481.3 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.856e-05/0.4045, allocations: 14.58 kB / 481.3 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.4045, allocations: 1.234 kB / 481.3 MB, free: 5.988 MB / 350.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: 1 (fluid.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.187e-05/0.4046, allocations: 114.3 kB / 481.4 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.4046, allocations: 11.17 kB / 481.5 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.295e-05/0.4047, allocations: 9.047 kB / 481.5 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.4047, allocations: 1.344 kB / 481.5 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4047, allocations: 3.938 kB / 481.5 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.4047, allocations: 9.625 kB / 481.5 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.4049, allocations: 189 kB / 481.7 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.4049, allocations: 1.531 kB / 481.7 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.483e-05/0.4049, allocations: 2.734 kB / 481.7 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4049, allocations: 0.7969 kB / 481.7 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.4049, allocations: 0.9688 kB / 481.7 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.405, allocations: 1 kB / 481.7 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.405, allocations: 0 / 481.7 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.4051, allocations: 192.2 kB / 481.9 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.544e-05/0.4051, allocations: 80.17 kB / 481.9 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.4052, allocations: 5.734 kB / 481.9 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.181e-05/0.4052, allocations: 4 kB / 481.9 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.4052, allocations: 2.938 kB / 481.9 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.4053, allocations: 5.766 kB / 481.9 MB, free: 5.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.278e-05/0.4053, allocations: 75.28 kB / 482 MB, free: 5.281 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4053, allocations: 1.188 kB / 482 MB, free: 5.281 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.4055, allocations: 24.7 kB / 482 MB, free: 5.273 MB / 350.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: 1 (fluid.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002784/0.4058, allocations: 128.3 kB / 482.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002153/0.406, allocations: 111.8 kB / 482.3 MB, free: 5.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.4061, allocations: 4 kB / 482.3 MB, free: 5.086 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.344e-05/0.4061, allocations: 94.81 kB / 482.4 MB, free: 5.012 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.4075, allocations: 37.89 kB / 482.4 MB, free: 5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004926/0.408, allocations: 268.7 kB / 482.7 MB, free: 4.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001677/0.4082, allocations: 0.7133 MB / 483.4 MB, free: 4.125 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.429e-05/0.4083, allocations: 14.97 kB / 483.4 MB, free: 4.117 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.4083, allocations: 14.47 kB / 483.4 MB, free: 4.109 MB / 350.1 MB Notification: Performance of SimCode: time 1.91e-07/0.4083, allocations: 1.219 kB / 483.4 MB, free: 4.109 MB / 350.1 MB Notification: Performance of Templates: time 0.006999/0.4153, allocations: 2.154 MB / 485.6 MB, free: 3.828 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe 2>&1)