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.001436/0.001436, allocations: 105.8 kB / 16.41 MB, free: 5.973 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.001485/0.001485, allocations: 191.4 kB / 17.34 MB, free: 5.594 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7794/0.7794, allocations: 132.2 MB / 423.4 MB, free: 6.645 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 70.06 kB / 0.582 GB, free: 23.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1568, allocations: 80.21 MB / 0.6603 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.6089/0.7657, allocations: 171 MB / 0.8273 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006748/0.7725, allocations: 4.281 MB / 0.8315 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009455/0.7735, allocations: 27.38 kB / 0.8315 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.7745, allocations: 343.4 kB / 0.8318 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002594/0.7772, allocations: 1 MB / 0.8328 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002184/0.7794, allocations: 0.8137 MB / 0.8336 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001712/0.7811, allocations: 1.295 MB / 0.8348 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006673/0.7818, allocations: 488.3 kB / 0.8353 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001334/0.7831, allocations: 0.6756 MB / 0.836 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.7842, allocations: 456 kB / 0.8364 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.352e-05/0.7843, allocations: 49.72 kB / 0.8365 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001676/0.7859, allocations: 0.9052 MB / 0.8373 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000251/0.7862, allocations: 210.4 kB / 0.8375 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003835/0.7866, allocations: 336.4 kB / 0.8379 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001619/0.7882, allocations: 1.135 MB / 0.839 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.7882, allocations: 0 / 0.839 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7883, allocations: 0 / 0.839 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.7883, allocations: 0 / 0.839 GB, free: 10.46 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.001631/0.7899, allocations: 0.9552 MB / 0.8399 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.79, allocations: 7.75 kB / 0.8399 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001948/0.7919, allocations: 267 kB / 0.8402 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008698/0.7928, allocations: 499.5 kB / 0.8406 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.425e-05/0.7928, allocations: 35.25 kB / 0.8407 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.153e-05/0.7929, allocations: 39.25 kB / 0.8407 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.7941, allocations: 0.6109 MB / 0.8413 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.7941, allocations: 3.938 kB / 0.8413 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.351e-05/0.7942, allocations: 20.41 kB / 0.8413 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.056e-05/0.7943, allocations: 16.75 kB / 0.8413 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/0.7956, allocations: 0.5525 MB / 0.8419 GB, free: 8.449 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.003955/0.7995, allocations: 2.279 MB / 0.8441 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008633/0.8004, allocations: 282.8 kB / 0.8444 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004877/0.8009, allocations: 162.4 kB / 0.8445 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.8009, allocations: 2.812 kB / 0.8445 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.801, allocations: 38.56 kB / 0.8446 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 2.405e-06/0.801, allocations: 2.312 kB / 0.8446 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.005059/0.806, allocations: 1.08 MB / 0.8456 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.946e-05/0.8061, allocations: 88.08 kB / 0.8457 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000684/0.8068, allocations: 0.5463 MB / 0.8463 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.278e-05/0.8069, allocations: 27.83 kB / 0.8463 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/0.8071, allocations: 312 kB / 0.8466 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.031e-05/0.8072, allocations: 36.53 kB / 0.8466 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.8073, allocations: 70.56 kB / 0.8467 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.8074, allocations: 352.9 kB / 0.847 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000544/0.808, allocations: 196.7 kB / 0.8472 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005753/0.8086, allocations: 269.1 kB / 0.8475 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009953/0.8096, allocations: 406.6 kB / 0.8478 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.8096, allocations: 2.812 kB / 0.8479 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002544/0.8121, allocations: 0.7281 MB / 0.8486 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.8121, allocations: 7.438 kB / 0.8486 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.8122, allocations: 2.969 kB / 0.8486 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000594/0.8128, allocations: 184.7 kB / 0.8487 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003586/0.8131, allocations: 78.59 kB / 0.8488 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003761/0.8169, allocations: 2.23 MB / 0.851 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006253/0.8175, allocations: 76.86 kB / 0.8511 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/0.8176, allocations: 7.406 kB / 0.8511 GB, free: 1.617 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.0002858/0.8179, allocations: 188.9 kB / 0.8513 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.506e-05/0.818, allocations: 56.56 kB / 0.8513 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.858e-05/0.8181, allocations: 49.5 kB / 0.8514 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.8181, allocations: 2.688 kB / 0.8514 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.8181, allocations: 0 / 0.8514 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.8181, allocations: 3.984 kB / 0.8514 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002875/0.821, allocations: 1.128 MB / 0.8525 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.821, allocations: 6.469 kB / 0.8525 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002289/0.8212, allocations: 41.73 kB / 0.8525 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004998/0.8217, allocations: 175.1 kB / 0.8527 GB, free: 460 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.8218, allocations: 17.05 kB / 0.8527 GB, free: 444 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003421/0.8252, allocations: 2.192 MB / 0.8548 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.8252, allocations: 0 / 0.8548 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002362/0.8276, allocations: 0.6991 MB / 0.8555 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002618/0.8279, allocations: 164.5 kB / 0.8557 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.811e-05/0.828, allocations: 7.938 kB / 0.8557 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005745/0.8285, allocations: 55.75 kB / 0.8557 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/0.8286, allocations: 11.92 kB / 0.8558 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.018e-05/0.8287, allocations: 19.98 kB / 0.8558 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004867/0.8292, allocations: 398.8 kB / 0.8562 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8292, allocations: 0 / 0.8562 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007141/0.8299, allocations: 183.7 kB / 0.8563 GB, free: 12.54 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.000458/0.8304, allocations: 166.3 kB / 0.8565 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001499/0.8319, allocations: 0.5219 MB / 0.857 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.8319, allocations: 0 / 0.857 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006652/0.8325, allocations: 295 kB / 0.8573 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/0.834, allocations: 315.1 kB / 0.8576 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00315/0.8371, allocations: 1.105 MB / 0.8587 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/0.8376, allocations: 0.862 MB / 0.8595 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.8377, allocations: 43.42 kB / 0.8595 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of SimCode: time 8.42e-07/0.8377, allocations: 0 / 0.8595 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of Templates: time 0.01635/0.8541, allocations: 11.2 MB / 0.8705 GB, free: 14.06 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)