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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.001535, allocations: 102.2 kB / 16.35 MB, free: 5.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 189.8 kB / 17.29 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.802/0.802, allocations: 132.2 MB / 423.3 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 59.91 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3733, allocations: 80.18 MB / 0.5815 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1669/0.5403, allocations: 171 MB / 0.7484 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3581/0.8985, allocations: 4.276 MB / 0.7526 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009013/0.8994, allocations: 22.12 kB / 0.7526 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.9006, allocations: 347.8 kB / 0.753 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002578/0.9032, allocations: 0.996 MB / 0.7539 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002083/0.9053, allocations: 0.8046 MB / 0.7547 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001562/0.9068, allocations: 1.295 MB / 0.756 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005541/0.9074, allocations: 490.6 kB / 0.7565 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/0.9085, allocations: 0.6756 MB / 0.7571 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000977/0.9095, allocations: 453.3 kB / 0.7576 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.9096, allocations: 52.31 kB / 0.7576 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001656/0.9113, allocations: 0.9137 MB / 0.7585 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003035/0.9116, allocations: 214.5 kB / 0.7587 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005419/0.9121, allocations: 330.4 kB / 0.759 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002896/0.915, allocations: 1.136 MB / 0.7601 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.915, allocations: 0.8125 kB / 0.7601 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.873e-06/0.9151, allocations: 0 / 0.7601 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.534e-05/0.9151, allocations: 0.9062 kB / 0.7601 GB, free: 1.621 MB / 0.5762 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.002666/0.9178, allocations: 0.9464 MB / 0.7611 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.9178, allocations: 9.281 kB / 0.7611 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001811/0.9196, allocations: 265.2 kB / 0.7613 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.9207, allocations: 0.4906 MB / 0.7618 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.518e-05/0.9207, allocations: 28.69 kB / 0.7618 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.432e-05/0.9208, allocations: 41.06 kB / 0.7619 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.9221, allocations: 0.6162 MB / 0.7625 GB, free: 16.67 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.9222, allocations: 2.562 kB / 0.7625 GB, free: 16.67 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.559e-05/0.9222, allocations: 26.36 kB / 0.7625 GB, free: 16.67 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.889e-05/0.9223, allocations: 22.19 kB / 0.7625 GB, free: 16.67 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.9235, allocations: 0.5475 MB / 0.763 GB, free: 16.66 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.003619/0.9272, allocations: 2.254 MB / 0.7652 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009636/0.9281, allocations: 283.7 kB / 0.7655 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005961/0.9287, allocations: 168.5 kB / 0.7657 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.9288, allocations: 5.906 kB / 0.7657 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.9288, allocations: 37.31 kB / 0.7657 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.9288, allocations: 1.688 kB / 0.7657 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.005041/0.9339, allocations: 1.087 MB / 0.7668 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.9339, allocations: 83.2 kB / 0.7669 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005965/0.9345, allocations: 0.5525 MB / 0.7674 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.561e-05/0.9346, allocations: 28.36 kB / 0.7674 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.9348, allocations: 305.7 kB / 0.7677 GB, free: 15 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.975e-05/0.9349, allocations: 41.98 kB / 0.7678 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.935, allocations: 61.77 kB / 0.7678 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.9352, allocations: 355.9 kB / 0.7682 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005707/0.9357, allocations: 194.5 kB / 0.7683 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006206/0.9364, allocations: 275.7 kB / 0.7686 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.9375, allocations: 405.2 kB / 0.769 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.9375, allocations: 2.906 kB / 0.769 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002653/0.9402, allocations: 0.7278 MB / 0.7697 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.9402, allocations: 8.75 kB / 0.7697 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.9402, allocations: 2.094 kB / 0.7697 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006538/0.9409, allocations: 189.5 kB / 0.7699 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003879/0.9413, allocations: 70.8 kB / 0.77 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003843/0.9451, allocations: 2.242 MB / 0.7722 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007449/0.9459, allocations: 71.69 kB / 0.7722 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.443e-05/0.9459, allocations: 13.88 kB / 0.7722 GB, free: 12.98 MB / 0.5919 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003127/0.9463, allocations: 191.8 kB / 0.7724 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.554e-05/0.9464, allocations: 50.53 kB / 0.7725 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.84e-05/0.9465, allocations: 53.06 kB / 0.7725 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.9465, allocations: 3.438 kB / 0.7725 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.9465, allocations: 192 / 0.7725 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.9465, allocations: 2.625 kB / 0.7725 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002939/0.9494, allocations: 1.134 MB / 0.7736 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.9494, allocations: 2.094 kB / 0.7736 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.9497, allocations: 40.98 kB / 0.7737 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005039/0.9502, allocations: 182.7 kB / 0.7739 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.9502, allocations: 5.625 kB / 0.7739 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003414/0.9536, allocations: 2.185 MB / 0.776 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.9537, allocations: 3.25 kB / 0.776 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002273/0.9559, allocations: 0.7037 MB / 0.7767 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003076/0.9563, allocations: 169.6 kB / 0.7768 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.938e-05/0.9564, allocations: 6.188 kB / 0.7768 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005902/0.957, allocations: 56.38 kB / 0.7769 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.658e-05/0.957, allocations: 16.8 kB / 0.7769 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.535e-05/0.9571, allocations: 13.69 kB / 0.7769 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004035/0.9575, allocations: 395.9 kB / 0.7773 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9575, allocations: 0 / 0.7773 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006579/0.9582, allocations: 181.1 kB / 0.7775 GB, free: 10.71 MB / 0.5919 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004166/0.9586, allocations: 173 kB / 0.7776 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001464/0.9601, allocations: 0.5235 MB / 0.7782 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/0.9601, allocations: 4.375 kB / 0.7782 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006595/0.9608, allocations: 298.5 kB / 0.7784 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.9621, allocations: 297.3 kB / 0.7787 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002919/0.965, allocations: 1.069 MB / 0.7798 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/0.9654, allocations: 0.8633 MB / 0.7806 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004101/0.9659, allocations: 103.1 kB / 0.7807 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.966, allocations: 37.67 kB / 0.7808 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of SimCode: time 3.51e-07/0.966, allocations: 0 / 0.7808 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of Templates: time 0.01859/0.9846, allocations: 12.41 MB / 0.7929 GB, free: 7.582 MB / 0.5919 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)