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.004714/0.004714, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.001117/0.001117, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.301/1.301, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7556/0.7556, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 62.45 kB / 0.5813 GB, free: 1.031 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1911, allocations: 80.2 MB / 0.6597 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.6267/0.8179, allocations: 171 MB / 0.8266 GB, free: 3.535 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.006055/0.8239, allocations: 4.28 MB / 0.8308 GB, free: 3.477 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/0.8251, allocations: 20.28 kB / 0.8308 GB, free: 3.477 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.8262, allocations: 352.7 kB / 0.8312 GB, free: 3.469 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002602/0.8288, allocations: 0.9921 MB / 0.8321 GB, free: 3.426 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002415/0.8312, allocations: 0.8136 MB / 0.8329 GB, free: 3.406 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001915/0.8332, allocations: 1.3 MB / 0.8342 GB, free: 3.406 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000665/0.8338, allocations: 486.1 kB / 0.8347 GB, free: 3.371 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001253/0.8351, allocations: 0.6714 MB / 0.8353 GB, free: 3.367 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009777/0.8361, allocations: 453.1 kB / 0.8357 GB, free: 3.367 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.8362, allocations: 53.02 kB / 0.8358 GB, free: 3.367 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001808/0.838, allocations: 0.9094 MB / 0.8367 GB, free: 3.355 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002612/0.8383, allocations: 215.9 kB / 0.8369 GB, free: 3.355 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004031/0.8387, allocations: 329.5 kB / 0.8372 GB, free: 3.355 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001801/0.8405, allocations: 1.144 MB / 0.8383 GB, free: 3.285 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.8405, allocations: 2.281 kB / 0.8383 GB, free: 3.285 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.392e-06/0.8405, allocations: 0 / 0.8383 GB, free: 3.285 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.8406, allocations: 1 kB / 0.8383 GB, free: 3.285 MB / 0.6387 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.001667/0.8422, allocations: 0.9644 MB / 0.8393 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.8423, allocations: 9.375 kB / 0.8393 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/0.8439, allocations: 265.2 kB / 0.8395 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008207/0.8447, allocations: 0.4935 MB / 0.84 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.8448, allocations: 35.61 kB / 0.84 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.385e-05/0.8448, allocations: 44.94 kB / 0.8401 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.846, allocations: 0.6131 MB / 0.8407 GB, free: 2.293 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.846, allocations: 0 / 0.8407 GB, free: 2.293 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.27e-05/0.8461, allocations: 19.91 kB / 0.8407 GB, free: 2.293 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.99e-05/0.8461, allocations: 19.23 kB / 0.8407 GB, free: 2.293 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/0.8474, allocations: 0.5497 MB / 0.8413 GB, free: 2.285 MB / 0.6387 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.003212/0.8506, allocations: 2.268 MB / 0.8435 GB, free: 1.25 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007939/0.8514, allocations: 278.8 kB / 0.8437 GB, free: 1.227 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004698/0.8519, allocations: 169.8 kB / 0.8439 GB, free: 1.219 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.8519, allocations: 0 / 0.8439 GB, free: 1.219 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.8519, allocations: 40.7 kB / 0.8439 GB, free: 1.18 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=11): time 2.154e-06/0.8519, allocations: 1.156 kB / 0.8439 GB, free: 1.18 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.004475/0.8564, allocations: 1.094 MB / 0.845 GB, free: 1.016 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.8565, allocations: 77.83 kB / 0.8451 GB, free: 0.9219 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005125/0.857, allocations: 0.55 MB / 0.8456 GB, free: 0.7969 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.728e-05/0.857, allocations: 27.89 kB / 0.8456 GB, free: 0.7656 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.8572, allocations: 317.8 kB / 0.8459 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.8572, allocations: 38.42 kB / 0.846 GB, free: 0.5781 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.8573, allocations: 62.97 kB / 0.846 GB, free: 0.5586 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.8575, allocations: 361 kB / 0.8464 GB, free: 16.24 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005384/0.858, allocations: 191.1 kB / 0.8466 GB, free: 16.24 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000553/0.8586, allocations: 271.9 kB / 0.8468 GB, free: 16.15 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009965/0.8596, allocations: 406.3 kB / 0.8472 GB, free: 16.07 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.8596, allocations: 2.438 kB / 0.8472 GB, free: 16.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002354/0.862, allocations: 0.7349 MB / 0.8479 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.862, allocations: 6 kB / 0.8479 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.862, allocations: 3.812 kB / 0.8479 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005988/0.8626, allocations: 189.3 kB / 0.8481 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003428/0.863, allocations: 70.23 kB / 0.8482 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003561/0.8666, allocations: 2.233 MB / 0.8504 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006094/0.8672, allocations: 77.72 kB / 0.8505 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-05/0.8672, allocations: 11.53 kB / 0.8505 GB, free: 14.59 MB / 0.6544 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.0002592/0.8675, allocations: 187.1 kB / 0.8506 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.426e-05/0.8676, allocations: 60.86 kB / 0.8507 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.21e-05/0.8677, allocations: 51.91 kB / 0.8507 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.8677, allocations: 2.375 kB / 0.8508 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.8677, allocations: 4.938 kB / 0.8508 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.8677, allocations: 0 / 0.8508 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002681/0.8704, allocations: 1.133 MB / 0.8519 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.8704, allocations: 3.859 kB / 0.8519 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/0.8706, allocations: 37.84 kB / 0.8519 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004684/0.8711, allocations: 180.8 kB / 0.8521 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.8711, allocations: 2.812 kB / 0.8521 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003262/0.8744, allocations: 2.196 MB / 0.8542 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.8744, allocations: 0 / 0.8542 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002211/0.8766, allocations: 0.7072 MB / 0.8549 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002305/0.8769, allocations: 167.9 kB / 0.8551 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.674e-05/0.8769, allocations: 3.75 kB / 0.8551 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005286/0.8775, allocations: 48.11 kB / 0.8551 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.354e-05/0.8775, allocations: 19.94 kB / 0.8551 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.22e-05/0.8776, allocations: 15.55 kB / 0.8552 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003753/0.878, allocations: 396.8 kB / 0.8555 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.878, allocations: 0 / 0.8555 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000597/0.8786, allocations: 176.8 kB / 0.8557 GB, free: 12.29 MB / 0.6544 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.0003898/0.879, allocations: 175.2 kB / 0.8559 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001407/0.8804, allocations: 0.5224 MB / 0.8564 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.8804, allocations: 5.219 kB / 0.8564 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006462/0.8811, allocations: 295.3 kB / 0.8567 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.8824, allocations: 311.7 kB / 0.857 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002819/0.8853, allocations: 1.075 MB / 0.858 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005294/0.8858, allocations: 0.8657 MB / 0.8589 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003927/0.8862, allocations: 102.5 kB / 0.859 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.795e-05/0.8863, allocations: 36.81 kB / 0.859 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of SimCode: time 4.41e-07/0.8863, allocations: 1.203 kB / 0.859 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of Templates: time 0.01929/0.9056, allocations: 12.48 MB / 0.8712 GB, free: 8.594 MB / 0.6544 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)