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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009207/0.0009207, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6994/0.6994, allocations: 130.5 MB / 143.8 MB, free: 13.58 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.519/1.519, allocations: 221.3 MB / 396.8 MB, free: 9.176 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.0008455/0.0008456, allocations: 112.3 kB / 479 MB, free: 10.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.22e-05/3.223e-05, allocations: 2.75 kB / 0.5551 GB, free: 86.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1662, allocations: 81.58 MB / 0.6348 GB, free: 12.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.091/6.258, allocations: 1.944 GB / 2.579 GB, free: 204.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003305/6.258, allocations: 84.7 kB / 2.579 GB, free: 204.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.408/7.666, allocations: 400.5 MB / 2.97 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.643e-06/7.666, allocations: 0 / 2.97 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.48e-05/7.666, allocations: 8 kB / 2.97 GB, free: 118.2 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.001861/7.668, allocations: 0.8849 MB / 2.971 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/7.668, allocations: 12.03 kB / 2.971 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001509/7.669, allocations: 267 kB / 2.971 GB, free: 117 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008689/7.67, allocations: 480.2 kB / 2.972 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003119/7.671, allocations: 100.9 kB / 2.972 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.912e-05/7.671, allocations: 47.89 kB / 2.972 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008142/7.671, allocations: 0.5359 MB / 2.972 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/7.671, allocations: 7.938 kB / 2.972 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.755e-05/7.671, allocations: 16 kB / 2.972 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.82e-05/7.672, allocations: 20.94 kB / 2.972 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006439/7.672, allocations: 411.8 kB / 2.973 GB, free: 115.3 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003428/7.676, allocations: 2.168 MB / 2.975 GB, free: 113 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003036/7.676, allocations: 150.5 kB / 2.975 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/7.676, allocations: 84.83 kB / 2.975 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.243e-05/7.676, allocations: 4 kB / 2.975 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/7.676, allocations: 30.56 kB / 2.975 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 3.296e-06/7.676, allocations: 0 / 2.975 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.001839/7.678, allocations: 449.7 kB / 2.976 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/7.678, allocations: 77.11 kB / 2.976 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005559/7.679, allocations: 492.7 kB / 2.976 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.87e-05/7.679, allocations: 25.7 kB / 2.976 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/7.679, allocations: 295.3 kB / 2.976 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.393e-05/7.679, allocations: 55.38 kB / 2.976 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.921e-05/7.679, allocations: 4 kB / 2.976 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001285/7.679, allocations: 358.8 kB / 2.977 GB, free: 111 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/7.679, allocations: 104 kB / 2.977 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/7.68, allocations: 202.4 kB / 2.977 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/7.68, allocations: 113.6 kB / 2.977 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/7.68, allocations: 8.031 kB / 2.977 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001562/7.681, allocations: 0.5581 MB / 2.978 GB, free: 110 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/7.681, allocations: 4.625 kB / 2.978 GB, free: 110 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/7.681, allocations: 7.984 kB / 2.978 GB, free: 110 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004249/7.682, allocations: 136.8 kB / 2.978 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003327/7.682, allocations: 67.95 kB / 2.978 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002769/7.685, allocations: 1.941 MB / 2.98 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006831/7.686, allocations: 95.39 kB / 2.98 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.843e-05/7.686, allocations: 8 kB / 2.98 GB, free: 107.6 MB / 0.6823 GB 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.0001298/7.686, allocations: 124.6 kB / 2.98 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.654e-05/7.686, allocations: 55.42 kB / 2.98 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001366/7.686, allocations: 52.11 kB / 2.98 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/7.686, allocations: 4 kB / 2.98 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/7.686, allocations: 0 / 2.98 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/7.686, allocations: 7.938 kB / 2.98 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/7.688, allocations: 0.9339 MB / 2.981 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/7.688, allocations: 0 / 2.981 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/7.688, allocations: 48.02 kB / 2.981 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002926/7.688, allocations: 136.7 kB / 2.981 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/7.689, allocations: 4.062 kB / 2.981 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/7.69, allocations: 1.8 MB / 2.983 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/7.69, allocations: 4.031 kB / 2.983 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/7.692, allocations: 0.5552 MB / 2.984 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002368/7.692, allocations: 168.5 kB / 2.984 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.875e-05/7.692, allocations: 0 / 2.984 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005424/7.693, allocations: 67.84 kB / 2.984 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.808e-05/7.693, allocations: 11.98 kB / 2.984 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.272e-05/7.693, allocations: 15.98 kB / 2.984 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004318/7.693, allocations: 385.5 kB / 2.984 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/7.693, allocations: 4 kB / 2.984 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001101/7.694, allocations: 263.8 kB / 2.984 GB, free: 102.7 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.001436/7.696, allocations: 1.003 MB / 2.985 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001133/7.697, allocations: 458.9 kB / 2.986 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/7.697, allocations: 0 / 2.986 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002666/7.697, allocations: 226.4 kB / 2.986 GB, free: 101 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/7.699, allocations: 303.2 kB / 2.986 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/7.701, allocations: 0.7071 MB / 2.987 GB, free: 99.96 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/7.701, allocations: 0.8779 MB / 2.988 GB, free: 99.06 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004408/7.701, allocations: 100.5 kB / 2.988 GB, free: 98.96 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.401e-05/7.702, allocations: 31.44 kB / 2.988 GB, free: 98.93 MB / 0.6823 GB Notification: Performance of SimCode: time 5.91e-07/7.702, allocations: 0 / 2.988 GB, free: 98.93 MB / 0.6823 GB Notification: Performance of Templates: time 0.03254/7.734, allocations: 25.89 MB / 3.013 GB, free: 73.14 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)