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.001179/0.001179, allocations: 109 kB / 16.41 MB, free: 6.488 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.001211/0.001211, allocations: 187 kB / 17.34 MB, free: 5.73 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.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8234/0.8234, allocations: 132.2 MB / 423.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 57.69 kB / 0.582 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1674, allocations: 80.22 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.653/0.8205, allocations: 171 MB / 0.8273 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006777/0.8273, allocations: 4.279 MB / 0.8315 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009055/0.8282, allocations: 20.19 kB / 0.8315 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001096/0.8293, allocations: 343.5 kB / 0.8318 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00266/0.832, allocations: 1.005 MB / 0.8328 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002204/0.8343, allocations: 0.8133 MB / 0.8336 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001774/0.8361, allocations: 1.286 MB / 0.8348 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006792/0.8367, allocations: 487 kB / 0.8353 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001342/0.8381, allocations: 0.684 MB / 0.836 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.8393, allocations: 452.4 kB / 0.8364 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.8394, allocations: 53.28 kB / 0.8365 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001769/0.8412, allocations: 0.9088 MB / 0.8373 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002499/0.8415, allocations: 206.2 kB / 0.8375 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000365/0.8418, allocations: 333.3 kB / 0.8379 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001823/0.8437, allocations: 1.14 MB / 0.839 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.8437, allocations: 0 / 0.839 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.502e-06/0.8437, allocations: 0 / 0.839 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.233e-05/0.8437, allocations: 0 / 0.839 GB, free: 10.51 MB / 0.6075 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.00168/0.8454, allocations: 0.953 MB / 0.8399 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.8454, allocations: 10.06 kB / 0.8399 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001666/0.8471, allocations: 264.8 kB / 0.8402 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008909/0.848, allocations: 0.4905 MB / 0.8406 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.617e-05/0.8481, allocations: 31.94 kB / 0.8407 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.723e-05/0.8481, allocations: 43.19 kB / 0.8407 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.8494, allocations: 0.6117 MB / 0.8413 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.8494, allocations: 0 / 0.8413 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.756e-05/0.8495, allocations: 16.62 kB / 0.8413 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.869e-05/0.8495, allocations: 27.06 kB / 0.8414 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/0.8509, allocations: 0.5482 MB / 0.8419 GB, free: 8.504 MB / 0.6075 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.004026/0.855, allocations: 2.272 MB / 0.8441 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009209/0.8559, allocations: 283.2 kB / 0.8444 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005228/0.8564, allocations: 166.2 kB / 0.8445 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.8565, allocations: 2.625 kB / 0.8445 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.8565, allocations: 40.66 kB / 0.8446 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.903e-06/0.8565, allocations: 0 / 0.8446 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.005204/0.8617, allocations: 1.089 MB / 0.8456 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.8618, allocations: 87.05 kB / 0.8457 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008138/0.8626, allocations: 0.5489 MB / 0.8463 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.385e-05/0.8627, allocations: 28.08 kB / 0.8463 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/0.863, allocations: 308.3 kB / 0.8466 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.742e-05/0.863, allocations: 32.27 kB / 0.8466 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.8632, allocations: 67.22 kB / 0.8467 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.8633, allocations: 352.5 kB / 0.847 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005878/0.8639, allocations: 189.4 kB / 0.8472 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006432/0.8646, allocations: 282 kB / 0.8475 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.8658, allocations: 408.2 kB / 0.8479 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.728e-06/0.8658, allocations: 0 / 0.8479 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002784/0.8686, allocations: 0.72 MB / 0.8486 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.8686, allocations: 9.312 kB / 0.8486 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.8686, allocations: 1.812 kB / 0.8486 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006568/0.8693, allocations: 189.8 kB / 0.8488 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003774/0.8697, allocations: 69.97 kB / 0.8488 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004312/0.874, allocations: 2.237 MB / 0.851 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007782/0.8748, allocations: 76.61 kB / 0.8511 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.462e-05/0.8749, allocations: 10.84 kB / 0.8511 GB, free: 1.672 MB / 0.6075 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.000349/0.8752, allocations: 189 kB / 0.8513 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.8754, allocations: 53.03 kB / 0.8513 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/0.8756, allocations: 53.34 kB / 0.8514 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.8756, allocations: 2.406 kB / 0.8514 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.8756, allocations: 0 / 0.8514 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.8756, allocations: 3.984 kB / 0.8514 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00327/0.8789, allocations: 1.125 MB / 0.8525 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.8789, allocations: 2.625 kB / 0.8525 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002484/0.8791, allocations: 42.52 kB / 0.8525 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000547/0.8797, allocations: 179.4 kB / 0.8527 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/0.8797, allocations: 15.92 kB / 0.8527 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003781/0.8835, allocations: 2.186 MB / 0.8548 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.8836, allocations: 7.922 kB / 0.8548 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002592/0.8862, allocations: 0.6959 MB / 0.8555 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003561/0.8865, allocations: 164.5 kB / 0.8557 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/0.8867, allocations: 11.92 kB / 0.8557 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006423/0.8873, allocations: 43.95 kB / 0.8557 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.574e-05/0.8874, allocations: 16.3 kB / 0.8557 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.754e-05/0.8875, allocations: 11.98 kB / 0.8558 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005637/0.888, allocations: 402.8 kB / 0.8561 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8881, allocations: 3.938 kB / 0.8561 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007734/0.8888, allocations: 183.7 kB / 0.8563 GB, free: 12.61 MB / 0.6231 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.0005011/0.8893, allocations: 178.2 kB / 0.8565 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001693/0.891, allocations: 0.5202 MB / 0.857 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.8911, allocations: 0 / 0.857 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007571/0.8918, allocations: 299 kB / 0.8573 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.8934, allocations: 306.5 kB / 0.8576 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003286/0.8967, allocations: 1.102 MB / 0.8587 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005099/0.8972, allocations: 0.8658 MB / 0.8595 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.8974, allocations: 43.42 kB / 0.8595 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of SimCode: time 1.052e-06/0.8974, allocations: 0 / 0.8595 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of Templates: time 0.01727/0.9147, allocations: 11.14 MB / 0.8704 GB, free: 14.2 MB / 0.6387 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)