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: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.331/1.331, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7576/0.7576, allocations: 132.2 MB / 422.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 64 kB / 0.5019 GB, free: 3.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.35, allocations: 80.22 MB / 0.5802 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1729/0.5229, allocations: 171 MB / 0.7472 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005934/0.5289, allocations: 4.273 MB / 0.7513 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005242/0.5294, allocations: 23.88 kB / 0.7514 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008931/0.5303, allocations: 346 kB / 0.7517 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002083/0.5324, allocations: 0.9915 MB / 0.7527 GB, free: 304 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002141/0.5346, allocations: 0.8127 MB / 0.7535 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001375/0.536, allocations: 1.29 MB / 0.7547 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005552/0.5365, allocations: 483.2 kB / 0.7552 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009991/0.5376, allocations: 0.6732 MB / 0.7558 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008389/0.5384, allocations: 457.3 kB / 0.7563 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.53e-05/0.5385, allocations: 52 kB / 0.7563 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.5399, allocations: 0.9043 MB / 0.7572 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001972/0.5401, allocations: 207.5 kB / 0.7574 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003062/0.5404, allocations: 342.5 kB / 0.7577 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.5417, allocations: 1.126 MB / 0.7588 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.5417, allocations: 0 / 0.7588 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5417, allocations: 0 / 0.7588 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.5417, allocations: 3.938 kB / 0.7588 GB, free: 9.969 MB / 0.5919 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.001529/0.5432, allocations: 0.9582 MB / 0.7598 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.5433, allocations: 8.031 kB / 0.7598 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.94e-05/0.5434, allocations: 86.52 kB / 0.7599 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/0.5451, allocations: 263 kB / 0.7601 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007663/0.5459, allocations: 485.4 kB / 0.7606 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003556/0.5462, allocations: 92.92 kB / 0.7607 GB, free: 8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.825e-05/0.5463, allocations: 36 kB / 0.7607 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.5476, allocations: 0.6302 MB / 0.7613 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.5476, allocations: 0 / 0.7613 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.837e-05/0.5477, allocations: 16 kB / 0.7613 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.102e-05/0.5478, allocations: 21 kB / 0.7613 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/0.5492, allocations: 0.5542 MB / 0.7619 GB, free: 6.719 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.003992/0.5532, allocations: 2.292 MB / 0.7641 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.5543, allocations: 298.3 kB / 0.7644 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006023/0.5549, allocations: 168.7 kB / 0.7646 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.555, allocations: 7.938 kB / 0.7646 GB, free: 3.816 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.555, allocations: 42.55 kB / 0.7646 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=11): time 1.873e-06/0.555, allocations: 0 / 0.7646 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.005423/0.5604, allocations: 1.111 MB / 0.7657 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.5605, allocations: 77.11 kB / 0.7658 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000623/0.5611, allocations: 0.5496 MB / 0.7663 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.011e-05/0.5612, allocations: 29.7 kB / 0.7663 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.5614, allocations: 303.5 kB / 0.7666 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.45e-05/0.5614, allocations: 35.45 kB / 0.7667 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.5615, allocations: 65.61 kB / 0.7667 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.5617, allocations: 358.8 kB / 0.7671 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000665/0.5623, allocations: 187.8 kB / 0.7672 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007034/0.5631, allocations: 283.4 kB / 0.7675 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.5643, allocations: 412.2 kB / 0.7679 GB, free: 244 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.5643, allocations: 3.938 kB / 0.7679 GB, free: 240 kB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00286/0.5672, allocations: 0.7372 MB / 0.7686 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.5672, allocations: 10.19 kB / 0.7686 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.5673, allocations: 4 kB / 0.7686 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006368/0.5679, allocations: 192.8 kB / 0.7688 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004084/0.5683, allocations: 71.89 kB / 0.7689 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004088/0.5724, allocations: 2.233 MB / 0.7711 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006451/0.5731, allocations: 83.38 kB / 0.7712 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.5731, allocations: 12 kB / 0.7712 GB, free: 12.75 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.0002504/0.5734, allocations: 193.8 kB / 0.7714 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.5735, allocations: 55.55 kB / 0.7714 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.5736, allocations: 52.03 kB / 0.7715 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.5736, allocations: 0 / 0.7715 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.5736, allocations: 4 kB / 0.7715 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.5736, allocations: 3.984 kB / 0.7715 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003238/0.5769, allocations: 1.137 MB / 0.7726 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.5769, allocations: 3.984 kB / 0.7726 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002733/0.5772, allocations: 44.02 kB / 0.7726 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005598/0.5777, allocations: 176.6 kB / 0.7728 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.5778, allocations: 8 kB / 0.7728 GB, free: 11 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003682/0.5815, allocations: 2.191 MB / 0.7749 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.5815, allocations: 4 kB / 0.7749 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002633/0.5841, allocations: 0.7117 MB / 0.7756 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002362/0.5844, allocations: 172.4 kB / 0.7758 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.25e-05/0.5844, allocations: 0 / 0.7758 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006183/0.5851, allocations: 52.88 kB / 0.7758 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/0.5851, allocations: 11.98 kB / 0.7759 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-05/0.5852, allocations: 15.98 kB / 0.7759 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004357/0.5856, allocations: 390.8 kB / 0.7762 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.71e-07/0.5856, allocations: 0 / 0.7762 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006405/0.5863, allocations: 187.7 kB / 0.7764 GB, free: 7.102 MB / 0.6075 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.003239/0.5895, allocations: 1.325 MB / 0.7777 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001706/0.5912, allocations: 0.5299 MB / 0.7782 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5913, allocations: 0 / 0.7782 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007808/0.592, allocations: 315 kB / 0.7785 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/0.5935, allocations: 306.8 kB / 0.7788 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/0.605, allocations: 5.172 MB / 0.7839 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.6054, allocations: 0.8621 MB / 0.7847 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004748/0.6059, allocations: 104.5 kB / 0.7848 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002132/0.6061, allocations: 159.4 kB / 0.785 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of SimCode: time 5.51e-07/0.6061, allocations: 0 / 0.785 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04101/0.6472, allocations: 16.76 MB / 0.8013 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.57, allocations: 4.656 kB / 0.8013 GB, free: 13.74 MB / 0.6387 GB (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)