Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",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.00635/0.00635, allocations: 99.66 kB / 15.73 MB, free: 6.441 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.00128/0.00128, allocations: 199.7 kB / 16.67 MB, free: 6.352 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7442/0.7442, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 64.05 kB / 0.5809 GB, free: 8.055 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.4008, allocations: 80.2 MB / 0.6592 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.216/0.6168, allocations: 181.9 MB / 0.8368 GB, free: 15.79 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.007603/0.6244, allocations: 5.347 MB / 0.842 GB, free: 10.43 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007469/0.6252, allocations: 35.81 kB / 0.842 GB, free: 10.39 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.6263, allocations: 457.3 kB / 0.8425 GB, free: 9.945 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003505/0.6298, allocations: 1.739 MB / 0.8442 GB, free: 8.199 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001674/0.6315, allocations: 0.8001 MB / 0.845 GB, free: 7.406 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002281/0.6338, allocations: 2.187 MB / 0.8471 GB, free: 5.219 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007986/0.6346, allocations: 0.689 MB / 0.8478 GB, free: 4.516 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000995/0.6356, allocations: 0.7716 MB / 0.8485 GB, free: 3.742 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/0.637, allocations: 0.6784 MB / 0.8492 GB, free: 3.074 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.6371, allocations: 76 kB / 0.8493 GB, free: 3 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002419/0.6396, allocations: 1.403 MB / 0.8506 GB, free: 1.594 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003042/0.6399, allocations: 315.1 kB / 0.8509 GB, free: 1.285 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004516/0.6403, allocations: 473.9 kB / 0.8514 GB, free: 0.8203 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002073/0.6424, allocations: 1.666 MB / 0.853 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.6424, allocations: 8 kB / 0.853 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6424, allocations: 0 / 0.853 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.422e-05/0.6425, allocations: 0 / 0.853 GB, free: 15.14 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001604/0.6441, allocations: 1.206 MB / 0.8542 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.6441, allocations: 16.03 kB / 0.8542 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001127/0.6442, allocations: 98.52 kB / 0.8543 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00177/0.646, allocations: 271.2 kB / 0.8546 GB, free: 13.49 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.6471, allocations: 0.7144 MB / 0.8553 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.592e-05/0.6472, allocations: 49.31 kB / 0.8553 GB, free: 12.69 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.6473, allocations: 63.94 kB / 0.8554 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009802/0.6482, allocations: 0.5765 MB / 0.8559 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.6483, allocations: 0 / 0.8559 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.49e-05/0.6483, allocations: 20 kB / 0.8559 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.142e-05/0.6484, allocations: 25.3 kB / 0.856 GB, free: 12 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008205/0.6492, allocations: 0.497 MB / 0.8565 GB, free: 11.5 MB / 0.6856 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.003004/0.6522, allocations: 2.385 MB / 0.8588 GB, free: 8.93 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000662/0.6529, allocations: 419.8 kB / 0.8592 GB, free: 8.512 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003264/0.6532, allocations: 222.2 kB / 0.8594 GB, free: 8.293 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001992/0.6534, allocations: 97.09 kB / 0.8595 GB, free: 8.18 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.6535, allocations: 39.28 kB / 0.8595 GB, free: 8.133 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=43): time 2.464e-06/0.6535, allocations: 0 / 0.8595 GB, free: 8.133 MB / 0.6856 GB Notification: Performance of matching and sorting (n=48): time 0.002955/0.6565, allocations: 1.46 MB / 0.861 GB, free: 6.621 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.6565, allocations: 59.78 kB / 0.861 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000579/0.6571, allocations: 0.5421 MB / 0.8615 GB, free: 6 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.271e-05/0.6571, allocations: 41.7 kB / 0.8616 GB, free: 5.953 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/0.6574, allocations: 325.2 kB / 0.8619 GB, free: 5.629 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.6575, allocations: 182.4 kB / 0.8621 GB, free: 5.449 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.6577, allocations: 82.27 kB / 0.8621 GB, free: 5.359 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001931/0.6579, allocations: 374.8 kB / 0.8625 GB, free: 4.984 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/0.6582, allocations: 173 kB / 0.8627 GB, free: 4.816 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003426/0.6585, allocations: 256.8 kB / 0.8629 GB, free: 4.547 MB / 0.6856 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003091/0.6616, allocations: 1.433 MB / 0.8643 GB, free: 3.062 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.6616, allocations: 0 / 0.8643 GB, free: 3.062 MB / 0.6856 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008479/0.6625, allocations: 0.5229 MB / 0.8648 GB, free: 2.535 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.6625, allocations: 4 kB / 0.8648 GB, free: 2.531 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.6625, allocations: 4 kB / 0.8648 GB, free: 2.527 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.6626, allocations: 8.156 kB / 0.8648 GB, free: 2.52 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004205/0.663, allocations: 103.8 kB / 0.8649 GB, free: 2.418 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.663, allocations: 4 kB / 0.8649 GB, free: 2.414 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006075/0.6636, allocations: 25.19 kB / 0.865 GB, free: 2.391 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.785e-05/0.6637, allocations: 16 kB / 0.865 GB, free: 2.375 MB / 0.6856 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: volSim.dynBal.medium.p = volSim.dynBal.p_start volExa.dynBal.medium.p = volExa.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000324/0.664, allocations: 241.7 kB / 0.8652 GB, free: 2.129 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.6641, allocations: 71.58 kB / 0.8653 GB, free: 2.059 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001378/0.6643, allocations: 82.45 kB / 0.8654 GB, free: 1.98 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.6643, allocations: 11.94 kB / 0.8654 GB, free: 1.969 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.6643, allocations: 0 / 0.8654 GB, free: 1.969 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006848/0.665, allocations: 0.5105 MB / 0.8659 GB, free: 1.426 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3152/0.9802, allocations: 1.574 MB / 0.8674 GB, free: 195.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/0.9803, allocations: 5.156 kB / 0.8674 GB, free: 195.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005853/0.9809, allocations: 122.9 kB / 0.8675 GB, free: 195.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.418e-05/0.9809, allocations: 8.109 kB / 0.8675 GB, free: 195.8 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.126e-05/0.9809, allocations: 24.11 kB / 0.8676 GB, free: 195.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.161e-05/0.9809, allocations: 7.312 kB / 0.8676 GB, free: 195.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.676e-06/0.981, allocations: 10.91 kB / 0.8676 GB, free: 195.8 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.9823, allocations: 0.9417 MB / 0.8685 GB, free: 195.4 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003111/0.9826, allocations: 200.9 kB / 0.8687 GB, free: 195.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-05/0.9827, allocations: 18.27 kB / 0.8687 GB, free: 195.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000527/0.9832, allocations: 23.12 kB / 0.8687 GB, free: 195.3 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.008e-05/0.9833, allocations: 49.16 kB / 0.8688 GB, free: 195.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.082e-05/0.9833, allocations: 25.22 kB / 0.8688 GB, free: 195.3 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004895/0.9838, allocations: 394.5 kB / 0.8692 GB, free: 195.1 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9838, allocations: 0 / 0.8692 GB, free: 195.1 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0006839/0.9845, allocations: 200.5 kB / 0.8694 GB, free: 195.1 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.U,volSim.dynBal.mXi[1],volExa.dynBal.U,volExa.dynBal.mXi[1]) * 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 (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001637/0.9862, allocations: 1.584 MB / 0.8709 GB, free: 194 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0007894/0.987, allocations: 437.4 kB / 0.8713 GB, free: 193.8 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.987, allocations: 0.8125 kB / 0.8713 GB, free: 193.8 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003669/0.9874, allocations: 238.5 kB / 0.8716 GB, free: 193.8 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002132/0.9895, allocations: 494.5 kB / 0.872 GB, free: 193.7 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008038/0.9976, allocations: 5.464 MB / 0.8774 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006445/0.9982, allocations: 0.9732 MB / 0.8783 GB, free: 189.9 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008256/0.9991, allocations: 167.3 kB / 0.8785 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003466/0.9994, allocations: 262.7 kB / 0.8787 GB, free: 189.6 MB / 0.6856 GB Notification: Performance of SimCode: time 9.81e-07/0.9994, allocations: 0 / 0.8787 GB, free: 189.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04147/1.041, allocations: 20.39 MB / 0.8986 GB, free: 180.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.559/9.6, allocations: 2.25 kB / 0.8986 GB, free: 180.5 MB / 0.6856 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1)