Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [: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.002211/0.002211, allocations: 175.4 kB / 7.46 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5987/0.5987, allocations: 133.5 MB / 141.4 MB, free: 15.62 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.152/1.152, allocations: 221.3 MB / 395 MB, free: 10.11 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.000867/0.000867, allocations: 107.8 kB / 477.8 MB, free: 10.71 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.801e-06/5.821e-06, allocations: 2.344 kB / 0.5528 GB, free: 89.16 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1099, allocations: 82.31 MB / 0.6332 GB, free: 13.92 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.827/2.937, allocations: 1.944 GB / 2.577 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001824/2.937, allocations: 87.95 kB / 2.577 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.158/4.095, allocations: 400 MB / 2.968 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.661e-05/4.095, allocations: 10.69 kB / 2.968 GB, free: 159.8 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001652/4.097, allocations: 0.8868 MB / 2.968 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/4.097, allocations: 9.969 kB / 2.968 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001642/4.098, allocations: 293.6 kB / 2.969 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009793/4.099, allocations: 485 kB / 2.969 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003427/4.1, allocations: 92.08 kB / 2.969 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.227e-05/4.1, allocations: 24.31 kB / 2.969 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007369/4.1, allocations: 389.8 kB / 2.97 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007837/4.101, allocations: 0.4903 MB / 2.97 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/4.101, allocations: 4.781 kB / 2.97 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.633e-05/4.101, allocations: 1.062 kB / 2.97 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.949e-05/4.101, allocations: 17.28 kB / 2.97 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003321/4.105, allocations: 2.085 MB / 2.972 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/4.105, allocations: 145.2 kB / 2.972 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/4.105, allocations: 87.33 kB / 2.972 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/4.105, allocations: 1.625 kB / 2.972 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/4.105, allocations: 33.06 kB / 2.972 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 1.863e-06/4.105, allocations: 0 / 2.972 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.001818/4.107, allocations: 450.8 kB / 2.973 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/4.107, allocations: 81.8 kB / 2.973 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003726/4.107, allocations: 347.3 kB / 2.973 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.602e-05/4.107, allocations: 29.7 kB / 2.973 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.089e-05/4.107, allocations: 262.9 kB / 2.974 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/4.108, allocations: 43.39 kB / 2.974 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.73e-05/4.108, allocations: 0 / 2.974 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.901e-05/4.108, allocations: 350.4 kB / 2.974 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/4.108, allocations: 99.97 kB / 2.974 GB, free: 155 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/4.108, allocations: 182.4 kB / 2.974 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/4.108, allocations: 147 kB / 2.974 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/4.108, allocations: 0 / 2.974 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001606/4.11, allocations: 0.549 MB / 2.975 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/4.11, allocations: 4 kB / 2.975 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/4.11, allocations: 4 kB / 2.975 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003476/4.11, allocations: 134.8 kB / 2.975 GB, free: 154 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003415/4.111, allocations: 79.27 kB / 2.975 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/4.112, allocations: 1.727 MB / 2.977 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005637/4.113, allocations: 74.33 kB / 2.977 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/4.113, allocations: 15.98 kB / 2.977 GB, free: 152 MB / 0.6823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaFlo.Q_flow:VARIABLE(unit = "W" ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001296/4.113, allocations: 112.9 kB / 2.977 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.719e-05/4.113, allocations: 39.53 kB / 2.977 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.598e-05/4.113, allocations: 42.53 kB / 2.977 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/4.113, allocations: 0 / 2.977 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/4.113, allocations: 0 / 2.977 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/4.113, allocations: 4.172 kB / 2.977 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001918/4.115, allocations: 0.9109 MB / 2.978 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/4.115, allocations: 0 / 2.978 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/4.116, allocations: 54.28 kB / 2.978 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002678/4.116, allocations: 123.3 kB / 2.978 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/4.116, allocations: 4 kB / 2.978 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001818/4.118, allocations: 1.729 MB / 2.98 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/4.118, allocations: 4 kB / 2.98 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001465/4.119, allocations: 0.5486 MB / 2.98 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/4.119, allocations: 152.6 kB / 2.981 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.084e-05/4.119, allocations: 11.52 kB / 2.981 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005527/4.12, allocations: 70.53 kB / 2.981 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/4.12, allocations: 15.92 kB / 2.981 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.005e-05/4.12, allocations: 11.98 kB / 2.981 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002074/4.12, allocations: 267.2 kB / 2.981 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008243/4.121, allocations: 259.4 kB / 2.981 GB, free: 147.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001284/4.122, allocations: 1.14 MB / 2.982 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004983/4.123, allocations: 333.6 kB / 2.983 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/4.123, allocations: 6.656 kB / 2.983 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000216/4.123, allocations: 197.6 kB / 2.983 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008114/4.124, allocations: 180.1 kB / 2.983 GB, free: 146 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/4.126, allocations: 0.7247 MB / 2.984 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003624/4.127, allocations: 0.9104 MB / 2.985 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of SimCode: time 2.71e-07/4.127, allocations: 0 / 2.985 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of Templates: time 0.01874/4.145, allocations: 14.42 MB / 2.999 GB, free: 130.1 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)