Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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-master/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-master/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.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") [: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.002332/0.002332, allocations: 180.5 kB / 7.456 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6008/0.6008, allocations: 133.5 MB / 141.4 MB, free: 15.66 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.2/1.2, allocations: 221.3 MB / 395 MB, free: 10.18 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.0008313/0.0008313, allocations: 101.1 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.151e-06/6.322e-06, allocations: 2.469 kB / 0.5528 GB, free: 89.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.128, allocations: 82.31 MB / 0.6332 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.787/2.915, allocations: 1.882 GB / 2.515 GB, free: 79.99 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/2.915, allocations: 83.95 kB / 2.515 GB, free: 79.91 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.19/4.105, allocations: 463.7 MB / 2.968 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001545/4.105, allocations: 32.69 kB / 2.968 GB, free: 147.4 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.003579/4.109, allocations: 1.244 MB / 2.969 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/4.109, allocations: 8.969 kB / 2.969 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002177/4.111, allocations: 332.8 kB / 2.969 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/4.113, allocations: 0.861 MB / 2.97 GB, free: 146 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/4.113, allocations: 27.88 kB / 2.97 GB, free: 146 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/4.113, allocations: 53.78 kB / 2.97 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001206/4.114, allocations: 0.7342 MB / 2.971 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/4.115, allocations: 0.8439 MB / 2.972 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/4.115, allocations: 3.719 kB / 2.972 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.32e-05/4.115, allocations: 1.594 kB / 2.972 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.257e-05/4.116, allocations: 33.53 kB / 2.972 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004091/4.12, allocations: 3.308 MB / 2.975 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006449/4.12, allocations: 453.5 kB / 2.975 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003118/4.121, allocations: 268.4 kB / 2.976 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001605/4.121, allocations: 98.47 kB / 2.976 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/4.121, allocations: 51.06 kB / 2.976 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 2.003e-06/4.121, allocations: 0 / 2.976 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49): time 0.002511/4.123, allocations: 1.338 MB / 2.977 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.748e-05/4.123, allocations: 56.91 kB / 2.977 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005655/4.124, allocations: 0.5262 MB / 2.978 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.134e-05/4.124, allocations: 27.11 kB / 2.978 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/4.124, allocations: 391 kB / 2.978 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/4.124, allocations: 165.2 kB / 2.978 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/4.124, allocations: 3.844 kB / 2.978 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.486e-05/4.124, allocations: 382.7 kB / 2.979 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/4.125, allocations: 213.7 kB / 2.979 GB, free: 140 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003027/4.125, allocations: 346.5 kB / 2.979 GB, free: 139.7 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002299/4.127, allocations: 0.9322 MB / 2.98 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/4.127, allocations: 0 / 2.98 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008715/4.128, allocations: 0.6909 MB / 2.981 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/4.128, allocations: 7.938 kB / 2.981 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/4.128, allocations: 5.812 kB / 2.981 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001623/4.128, allocations: 59.59 kB / 2.981 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000566/4.129, allocations: 135 kB / 2.981 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/4.13, allocations: 2.632 MB / 2.983 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007287/4.131, allocations: 49.88 kB / 2.984 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.956e-05/4.131, allocations: 31.16 kB / 2.984 GB, free: 136.2 MB / 0.6823 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * 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: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001165/4.131, allocations: 115.1 kB / 2.984 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/4.131, allocations: 79.25 kB / 2.984 GB, free: 136 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001324/4.132, allocations: 85.33 kB / 2.984 GB, free: 136 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/4.132, allocations: 8.578 kB / 2.984 GB, free: 136 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/4.132, allocations: 4.719 kB / 2.984 GB, free: 136 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000688/4.132, allocations: 0.7719 MB / 2.985 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002109/4.134, allocations: 1.565 MB / 2.986 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/4.134, allocations: 2.375 kB / 2.986 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005629/4.135, allocations: 126.7 kB / 2.986 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.823e-05/4.135, allocations: 36.36 kB / 2.986 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-05/4.135, allocations: 5.438 kB / 2.986 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007401/4.136, allocations: 1.349 MB / 2.988 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/4.136, allocations: 4.25 kB / 2.988 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001073/4.137, allocations: 1.131 MB / 2.989 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002657/4.137, allocations: 216.1 kB / 2.989 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/4.137, allocations: 7.25 kB / 2.989 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007041/4.138, allocations: 50.95 kB / 2.989 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.865e-05/4.138, allocations: 34.58 kB / 2.989 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.975e-05/4.138, allocations: 27.98 kB / 2.989 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.00035/4.139, allocations: 419 kB / 2.989 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001021/4.14, allocations: 359.8 kB / 2.99 GB, free: 130.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 46 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001264/4.141, allocations: 1.432 MB / 2.991 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007404/4.142, allocations: 0.7031 MB / 2.992 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/4.142, allocations: 4 kB / 2.992 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000313/4.142, allocations: 353.4 kB / 2.992 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/4.144, allocations: 429.3 kB / 2.993 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/4.146, allocations: 1.334 MB / 2.994 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005856/4.146, allocations: 1.175 MB / 2.995 GB, free: 125.6 MB / 0.6823 GB Notification: Performance of SimCode: time 2.61e-07/4.146, allocations: 0 / 2.995 GB, free: 125.6 MB / 0.6823 GB Notification: Performance of Templates: time 0.02637/4.173, allocations: 22.44 MB / 3.017 GB, free: 103.7 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)