Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00393/0.00393, allocations: 179.4 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6641/0.6641, allocations: 130.6 MB / 138.5 MB, free: 2.215 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.452/1.452, 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.0008995/0.0008994, allocations: 97.72 kB / 473.4 MB, free: 14.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.787e-06/8.937e-06, allocations: 0 / 0.5479 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1604, allocations: 81.59 MB / 0.6276 GB, free: 18.18 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.435/5.596, allocations: 1.943 GB / 2.571 GB, free: 232 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003243/5.596, allocations: 84.94 kB / 2.571 GB, free: 232 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.429/7.025, allocations: 400 MB / 2.962 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.579e-05/7.025, allocations: 16 kB / 2.962 GB, free: 124.3 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.002917/7.028, allocations: 0.8813 MB / 2.963 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/7.028, allocations: 12.02 kB / 2.963 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002031/7.03, allocations: 287 kB / 2.963 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001561/7.032, allocations: 495.7 kB / 2.963 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003747/7.032, allocations: 88.94 kB / 2.963 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/7.032, allocations: 27.91 kB / 2.963 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009416/7.033, allocations: 389.9 kB / 2.964 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/7.034, allocations: 497.2 kB / 2.964 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/7.034, allocations: 3.938 kB / 2.964 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-05/7.035, allocations: 4 kB / 2.964 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.958e-05/7.035, allocations: 24.92 kB / 2.964 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004385/7.039, allocations: 2.061 MB / 2.966 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002906/7.039, allocations: 154.4 kB / 2.966 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/7.039, allocations: 88.73 kB / 2.967 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.051e-05/7.039, allocations: 0 / 2.967 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/7.04, allocations: 38.56 kB / 2.967 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 1.904e-06/7.04, allocations: 0 / 2.967 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.002002/7.042, allocations: 433.5 kB / 2.967 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/7.042, allocations: 81.11 kB / 2.967 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004422/7.042, allocations: 345.1 kB / 2.967 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.676e-05/7.042, allocations: 33.69 kB / 2.967 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/7.042, allocations: 263 kB / 2.968 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.218e-05/7.042, allocations: 43.39 kB / 2.968 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.939e-05/7.042, allocations: 0 / 2.968 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001042/7.042, allocations: 346.8 kB / 2.968 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/7.043, allocations: 108 kB / 2.968 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/7.043, allocations: 186.4 kB / 2.968 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003089/7.043, allocations: 140.2 kB / 2.969 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/7.043, allocations: 0 / 2.969 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001821/7.045, allocations: 0.5472 MB / 2.969 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/7.045, allocations: 4 kB / 2.969 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/7.045, allocations: 4 kB / 2.969 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004355/7.046, allocations: 128.9 kB / 2.969 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003727/7.046, allocations: 79.88 kB / 2.969 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002562/7.048, allocations: 1.736 MB / 2.971 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007254/7.049, allocations: 75.7 kB / 2.971 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/7.049, allocations: 16.06 kB / 2.971 GB, free: 114.4 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.0002555/7.05, allocations: 121.5 kB / 2.971 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/7.05, allocations: 35.53 kB / 2.971 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/7.05, allocations: 47.16 kB / 2.971 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/7.05, allocations: 0 / 2.971 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/7.05, allocations: 0 / 2.971 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/7.05, allocations: 7.891 kB / 2.971 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002555/7.052, allocations: 0.8988 MB / 2.972 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/7.052, allocations: 0 / 2.972 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/7.053, allocations: 52.02 kB / 2.972 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003659/7.053, allocations: 128.7 kB / 2.972 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/7.053, allocations: 7.906 kB / 2.972 GB, free: 113 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002492/7.056, allocations: 1.728 MB / 2.974 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/7.056, allocations: 7.938 kB / 2.974 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001847/7.057, allocations: 0.5516 MB / 2.975 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003401/7.058, allocations: 156.5 kB / 2.975 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/7.058, allocations: 7.938 kB / 2.975 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006791/7.059, allocations: 63.94 kB / 2.975 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.068e-05/7.059, allocations: 4 kB / 2.975 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.363e-05/7.059, allocations: 11.98 kB / 2.975 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004472/7.059, allocations: 271.2 kB / 2.975 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001402/7.061, allocations: 259.5 kB / 2.975 GB, free: 109.8 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.002265/7.063, allocations: 1.143 MB / 2.976 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007343/7.064, allocations: 333.6 kB / 2.977 GB, free: 108.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/7.064, allocations: 4 kB / 2.977 GB, free: 108.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002663/7.064, allocations: 206.3 kB / 2.977 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/7.065, allocations: 166.2 kB / 2.977 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002933/7.068, allocations: 0.7229 MB / 2.978 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005467/7.069, allocations: 0.9115 MB / 2.979 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of SimCode: time 3.41e-07/7.069, allocations: 0 / 2.979 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of Templates: time 0.02513/7.094, allocations: 14.44 MB / 2.993 GB, free: 92.12 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)