Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.MixingVolumeHeatConduction,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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.001277/0.001277, 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.001333/0.001333, allocations: 196.6 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.31/1.31, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7347/0.7347, allocations: 132.2 MB / 422.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002282/0.002282, allocations: 64.52 kB / 0.5019 GB, free: 3.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3482, allocations: 80.19 MB / 0.5802 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1696/0.5179, allocations: 171.1 MB / 0.7472 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006354/0.5243, allocations: 4.277 MB / 0.7514 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005502/0.5249, allocations: 27.81 kB / 0.7514 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009414/0.5258, allocations: 353.9 kB / 0.7518 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002415/0.5283, allocations: 1.217 MB / 0.753 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001702/0.53, allocations: 0.7891 MB / 0.7537 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001614/0.5316, allocations: 1.684 MB / 0.7554 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006516/0.5323, allocations: 0.5697 MB / 0.7559 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008868/0.5332, allocations: 0.6771 MB / 0.7566 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009729/0.5342, allocations: 0.5525 MB / 0.7571 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.5343, allocations: 64 kB / 0.7572 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001275/0.5356, allocations: 0.799 MB / 0.758 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002424/0.5358, allocations: 263.3 kB / 0.7582 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003788/0.5362, allocations: 414.3 kB / 0.7586 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001297/0.5375, allocations: 1.262 MB / 0.7599 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.5375, allocations: 0 / 0.7599 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5375, allocations: 0 / 0.7599 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.5376, allocations: 0 / 0.7599 GB, free: 8.852 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001589/0.5392, allocations: 1.04 MB / 0.7609 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.5392, allocations: 12.03 kB / 0.7609 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001212/0.5393, allocations: 94.52 kB / 0.761 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009817/0.5403, allocations: 159.1 kB / 0.7611 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006884/0.541, allocations: 0.5288 MB / 0.7616 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.337e-05/0.541, allocations: 45.31 kB / 0.7617 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.823e-05/0.5411, allocations: 48 kB / 0.7617 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.5421, allocations: 0.6519 MB / 0.7624 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.5422, allocations: 4 kB / 0.7624 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.152e-05/0.5422, allocations: 24 kB / 0.7624 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.302e-05/0.5423, allocations: 21.31 kB / 0.7624 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009371/0.5432, allocations: 0.5164 MB / 0.7629 GB, free: 5.602 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.003116/0.5464, allocations: 2.324 MB / 0.7652 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005101/0.5469, allocations: 258.8 kB / 0.7654 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/0.5471, allocations: 136.8 kB / 0.7656 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.5472, allocations: 7.984 kB / 0.7656 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.5472, allocations: 34.56 kB / 0.7656 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=20): time 1.453e-06/0.5472, allocations: 0 / 0.7656 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20): time 0.00165/0.5489, allocations: 0.671 MB / 0.7663 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.5489, allocations: 81.05 kB / 0.7663 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006177/0.5496, allocations: 0.5613 MB / 0.7669 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.5496, allocations: 29.7 kB / 0.7669 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/0.5498, allocations: 339.4 kB / 0.7672 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.997e-05/0.5499, allocations: 74.92 kB / 0.7673 GB, free: 0.8242 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.55, allocations: 69.94 kB / 0.7674 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.5501, allocations: 358.8 kB / 0.7677 GB, free: 400 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000264/0.5504, allocations: 132.6 kB / 0.7678 GB, free: 268 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/0.5507, allocations: 232 kB / 0.7681 GB, free: 0 / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005431/0.5513, allocations: 325.7 kB / 0.7684 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.5513, allocations: 8 kB / 0.7684 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009105/0.5522, allocations: 498.4 kB / 0.7689 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.5522, allocations: 8 kB / 0.7689 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.5523, allocations: 8.266 kB / 0.7689 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003064/0.5526, allocations: 97.59 kB / 0.769 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003335/0.5529, allocations: 67.91 kB / 0.769 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002878/0.5558, allocations: 3.343 MB / 0.7723 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004614/0.5563, allocations: 51.42 kB / 0.7724 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.5563, allocations: 23.88 kB / 0.7724 GB, free: 11.26 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000235/0.5566, allocations: 209.7 kB / 0.7726 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.5567, allocations: 59.34 kB / 0.7726 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.711e-05/0.5568, allocations: 60.44 kB / 0.7727 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.5568, allocations: 4 kB / 0.7727 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.5568, allocations: 0 / 0.7727 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007476/0.5575, allocations: 0.5306 MB / 0.7732 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.5588, allocations: 0.9198 MB / 0.7741 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.5588, allocations: 0 / 0.7741 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/0.559, allocations: 43.91 kB / 0.7742 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002145/0.5592, allocations: 60.81 kB / 0.7742 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.5593, allocations: 8 kB / 0.7742 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001568/0.5608, allocations: 1.825 MB / 0.776 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5609, allocations: 0 / 0.776 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006149/0.5615, allocations: 443.3 kB / 0.7764 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001954/0.5617, allocations: 164.5 kB / 0.7766 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.281e-05/0.5618, allocations: 4 kB / 0.7766 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004438/0.5622, allocations: 15.98 kB / 0.7766 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.288e-05/0.5623, allocations: 23.91 kB / 0.7766 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.796e-05/0.5623, allocations: 15.98 kB / 0.7766 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004081/0.5628, allocations: 394.8 kB / 0.777 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5628, allocations: 0 / 0.777 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005895/0.5634, allocations: 211.5 kB / 0.7772 GB, free: 5.973 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 (15): * Single equations (assignments): 14 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001078/0.5644, allocations: 1.039 MB / 0.7782 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000876/0.5653, allocations: 0.5322 MB / 0.7787 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.5653, allocations: 0 / 0.7787 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003624/0.5657, allocations: 263.2 kB / 0.779 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/0.5674, allocations: 375.2 kB / 0.7794 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005644/0.573, allocations: 4.539 MB / 0.7838 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/0.5735, allocations: 0.9092 MB / 0.7847 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004191/0.5739, allocations: 116.8 kB / 0.7848 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002369/0.5742, allocations: 195.4 kB / 0.785 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.5742, allocations: 0 / 0.785 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04085/0.615, allocations: 17.64 MB / 0.8022 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.38, allocations: 7 kB / 0.8022 GB, free: 12.55 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_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_MixingVolumeHeatConduction.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)