Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003273/0.003273, allocations: 182.2 kB / 7.457 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.703/0.703, allocations: 130.6 MB / 138.5 MB, free: 2.195 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 221.3 MB / 391.4 MB, free: 13.03 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 101.4 kB / 473.5 MB, free: 14.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.127e-06/9.157e-06, allocations: 3.719 kB / 0.5479 GB, free: 89.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1851, allocations: 81.58 MB / 0.6276 GB, free: 18.17 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.151/5.336, allocations: 1.884 GB / 2.512 GB, free: 249 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/5.337, allocations: 80.97 kB / 2.512 GB, free: 249 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.487/7.824, allocations: 0.7571 GB / 3.269 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002419/7.824, allocations: 39.98 kB / 3.269 GB, free: 2.352 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.005641/7.83, allocations: 1.543 MB / 3.271 GB, free: 0.7578 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/7.83, allocations: 12.03 kB / 3.271 GB, free: 0.7461 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004327/7.834, allocations: 0.5015 MB / 3.271 GB, free: 248 kB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3575/8.192, allocations: 1.137 MB / 3.272 GB, free: 163 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.764e-05/8.192, allocations: 37.16 kB / 3.272 GB, free: 163 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002527/8.192, allocations: 68.09 kB / 3.272 GB, free: 163 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001836/8.194, allocations: 0.9627 MB / 3.273 GB, free: 163 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/8.196, allocations: 1.068 MB / 3.274 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.323e-05/8.196, allocations: 0 / 3.274 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/8.196, allocations: 0 / 3.274 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.398e-05/8.196, allocations: 43.97 kB / 3.274 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006011/8.202, allocations: 3.978 MB / 3.278 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/8.203, allocations: 0.8101 MB / 3.279 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005121/8.204, allocations: 454.2 kB / 3.279 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003949/8.204, allocations: 296 kB / 3.28 GB, free: 161.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/8.204, allocations: 47.36 kB / 3.28 GB, free: 161 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=83): time 3.316e-06/8.204, allocations: 0 / 3.28 GB, free: 161 MB / 0.6823 GB Notification: Performance of matching and sorting (n=89): time 0.004705/8.209, allocations: 2.165 MB / 3.282 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/8.209, allocations: 59.09 kB / 3.282 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007014/8.21, allocations: 0.5886 MB / 3.282 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.766e-05/8.21, allocations: 30.17 kB / 3.283 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/8.21, allocations: 419.1 kB / 3.283 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002236/8.21, allocations: 302.6 kB / 3.283 GB, free: 160 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/8.21, allocations: 0 / 3.283 GB, free: 160 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.156e-05/8.21, allocations: 341.4 kB / 3.284 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000416/8.211, allocations: 315.7 kB / 3.284 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005036/8.211, allocations: 482.6 kB / 3.284 GB, free: 159.5 MB / 0.6823 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004504/8.216, allocations: 2.193 MB / 3.286 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/8.216, allocations: 7.812 kB / 3.286 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001312/8.217, allocations: 0.9082 MB / 3.287 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/8.217, allocations: 3.938 kB / 3.287 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/8.217, allocations: 2.938 kB / 3.287 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/8.217, allocations: 7.344 kB / 3.287 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007539/8.218, allocations: 179.1 kB / 3.288 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/8.218, allocations: 14.81 kB / 3.288 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/8.219, allocations: 47.44 kB / 3.288 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.819e-05/8.219, allocations: 37.81 kB / 3.288 GB, free: 159.1 MB / 0.6823 GB Warning: Assuming redundant initial conditions for the following 3 initial equations: vol1.dynBal.medium.p = vol1.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001976/8.219, allocations: 129.6 kB / 3.288 GB, free: 159 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/8.219, allocations: 109.6 kB / 3.288 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000299/8.22, allocations: 126 kB / 3.288 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/8.22, allocations: 11.16 kB / 3.288 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/8.22, allocations: 6.359 kB / 3.288 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001271/8.221, allocations: 1.03 MB / 3.289 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004175/8.225, allocations: 2.845 MB / 3.292 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/8.225, allocations: 14 kB / 3.292 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000725/8.226, allocations: 172.4 kB / 3.292 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003332/8.226, allocations: 99.39 kB / 3.292 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.706e-05/8.226, allocations: 18.97 kB / 3.292 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001894/8.228, allocations: 2.786 MB / 3.295 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.248e-06/8.228, allocations: 13.06 kB / 3.295 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002245/8.231, allocations: 2.162 MB / 3.297 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00059/8.231, allocations: 282.3 kB / 3.297 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/8.231, allocations: 14.83 kB / 3.297 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/8.232, allocations: 62.08 kB / 3.297 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/8.233, allocations: 76.25 kB / 3.297 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.898e-05/8.233, allocations: 48.94 kB / 3.297 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005661/8.233, allocations: 464.2 kB / 3.298 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001669/8.235, allocations: 473.6 kB / 3.298 GB, free: 154.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.U,vol.dynBal.mXi[1],volMFactor.dynBal.U,volMFactor.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002295/8.237, allocations: 1.873 MB / 3.3 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001157/8.238, allocations: 0.7732 MB / 3.301 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/8.238, allocations: 3.875 kB / 3.301 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007308/8.239, allocations: 0.6186 MB / 3.301 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002903/8.242, allocations: 0.6451 MB / 3.302 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00341/8.245, allocations: 2.204 MB / 3.304 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009028/8.246, allocations: 1.373 MB / 3.306 GB, free: 152 MB / 0.6823 GB Notification: Performance of SimCode: time 6.62e-07/8.246, allocations: 0 / 3.306 GB, free: 152 MB / 0.6823 GB Notification: Performance of Templates: time 0.04639/8.293, allocations: 30.77 MB / 3.336 GB, free: 151.4 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)