Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_dev_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.001745/0.001745, allocations: 108 kB / 15.61 MB, free: 152 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.001831/0.001831, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.337/1.337, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9021/0.9021, allocations: 135.1 MB / 425.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 65.44 kB / 0.5054 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1273, allocations: 80.93 MB / 0.5845 GB, free: 4.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.3739/0.5013, allocations: 171 MB / 0.7514 GB, free: 240 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005732/0.507, allocations: 4.268 MB / 0.7556 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005864/0.5076, allocations: 27.81 kB / 0.7556 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009259/0.5086, allocations: 351.4 kB / 0.756 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0021/0.5107, allocations: 0.9959 MB / 0.7569 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001794/0.5125, allocations: 0.8004 MB / 0.7577 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0013/0.5138, allocations: 1.289 MB / 0.759 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005661/0.5144, allocations: 0.4897 MB / 0.7594 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009769/0.5154, allocations: 0.6654 MB / 0.7601 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008736/0.5163, allocations: 459.7 kB / 0.7605 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.255e-05/0.5164, allocations: 52 kB / 0.7606 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.5177, allocations: 0.9043 MB / 0.7615 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001943/0.518, allocations: 215.3 kB / 0.7617 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002942/0.5183, allocations: 334.5 kB / 0.762 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.5195, allocations: 1.122 MB / 0.7631 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.5195, allocations: 4 kB / 0.7631 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5195, allocations: 0 / 0.7631 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.5195, allocations: 0 / 0.7631 GB, free: 5.992 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.001459/0.521, allocations: 0.9543 MB / 0.764 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.521, allocations: 12.03 kB / 0.764 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.84e-05/0.5211, allocations: 86.52 kB / 0.7641 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001669/0.5228, allocations: 255.1 kB / 0.7644 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007371/0.5235, allocations: 489.4 kB / 0.7648 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003431/0.5239, allocations: 88.88 kB / 0.7649 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.109e-05/0.524, allocations: 44 kB / 0.765 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.5252, allocations: 0.6185 MB / 0.7656 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.5252, allocations: 0 / 0.7656 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.653e-05/0.5253, allocations: 23.92 kB / 0.7656 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.012e-05/0.5253, allocations: 24.98 kB / 0.7656 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/0.5268, allocations: 0.5503 MB / 0.7661 GB, free: 2.75 MB / 0.5762 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.003828/0.5307, allocations: 2.307 MB / 0.7684 GB, free: 320 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.5317, allocations: 282.3 kB / 0.7687 GB, free: 28 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006217/0.5323, allocations: 175.8 kB / 0.7688 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.5324, allocations: 4 kB / 0.7688 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.5324, allocations: 38.56 kB / 0.7689 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.5324, allocations: 0 / 0.7689 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.005374/0.5378, allocations: 1.11 MB / 0.77 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.5379, allocations: 81.11 kB / 0.77 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005557/0.5384, allocations: 0.5496 MB / 0.7706 GB, free: 14 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.5385, allocations: 29.7 kB / 0.7706 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.5387, allocations: 307.4 kB / 0.7709 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.955e-05/0.5387, allocations: 35.45 kB / 0.7709 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.5388, allocations: 67.34 kB / 0.771 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.5389, allocations: 354.8 kB / 0.7713 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006639/0.5396, allocations: 199.8 kB / 0.7715 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000708/0.5403, allocations: 279.4 kB / 0.7718 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/0.5416, allocations: 419 kB / 0.7722 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.5416, allocations: 4 kB / 0.7722 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002769/0.5444, allocations: 0.7355 MB / 0.7729 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.5444, allocations: 8 kB / 0.7729 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.5444, allocations: 4 kB / 0.7729 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000629/0.5451, allocations: 180.8 kB / 0.7731 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003914/0.5455, allocations: 79.88 kB / 0.7732 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003932/0.5494, allocations: 2.223 MB / 0.7753 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005982/0.55, allocations: 83.45 kB / 0.7754 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.5501, allocations: 11.98 kB / 0.7754 GB, free: 8.789 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.0002102/0.5503, allocations: 189.8 kB / 0.7756 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.964e-05/0.5504, allocations: 51.38 kB / 0.7757 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.618e-05/0.5505, allocations: 56.03 kB / 0.7757 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.5505, allocations: 0 / 0.7757 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.5505, allocations: 0 / 0.7757 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.5505, allocations: 0 / 0.7757 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003167/0.5537, allocations: 1.141 MB / 0.7768 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5537, allocations: 4.062 kB / 0.7768 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002909/0.554, allocations: 39.89 kB / 0.7769 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005477/0.5546, allocations: 186.2 kB / 0.777 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.5546, allocations: 11.94 kB / 0.7771 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003552/0.5582, allocations: 2.183 MB / 0.7792 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5582, allocations: 0.9375 kB / 0.7792 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002624/0.5608, allocations: 0.7118 MB / 0.7799 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000198/0.561, allocations: 164.5 kB / 0.78 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.073e-05/0.5611, allocations: 7.922 kB / 0.7801 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006068/0.5617, allocations: 53.83 kB / 0.7801 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/0.5618, allocations: 7.984 kB / 0.7801 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.092e-05/0.5618, allocations: 19.98 kB / 0.7801 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004113/0.5622, allocations: 398.8 kB / 0.7805 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5622, allocations: 0 / 0.7805 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000582/0.5628, allocations: 183.7 kB / 0.7807 GB, free: 3.152 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.003186/0.566, allocations: 1.322 MB / 0.782 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001671/0.5677, allocations: 0.5377 MB / 0.7825 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5677, allocations: 8.062 kB / 0.7825 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007876/0.5685, allocations: 298.7 kB / 0.7828 GB, free: 0.9414 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/0.57, allocations: 316.8 kB / 0.7831 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/0.5814, allocations: 5.175 MB / 0.7882 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.5818, allocations: 0.8582 MB / 0.789 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004224/0.5823, allocations: 108.5 kB / 0.7891 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/0.5825, allocations: 159.4 kB / 0.7892 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of SimCode: time 3.3e-07/0.5825, allocations: 0 / 0.7892 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0616/0.6441, allocations: 16.78 MB / 0.8056 GB, free: 9.77 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.38, allocations: 6.25 kB / 0.8056 GB, free: 9.766 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)