Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.MixingVolumeMassFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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.001168/0.001168, 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.001199/0.001199, allocations: 195.1 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7813/0.7813, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 60.34 kB / 0.5019 GB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4497/0.451, allocations: 80.2 MB / 0.5802 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1903/0.6414, allocations: 170.8 MB / 0.747 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005892/0.6473, allocations: 3.375 MB / 0.7503 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008682/0.6482, allocations: 23.88 kB / 0.7503 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.6494, allocations: 318.1 kB / 0.7506 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002529/0.652, allocations: 1.015 MB / 0.7516 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002002/0.654, allocations: 0.6616 MB / 0.7522 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001668/0.6557, allocations: 1.521 MB / 0.7537 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006149/0.6563, allocations: 485.4 kB / 0.7542 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008759/0.6572, allocations: 0.5525 MB / 0.7547 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009182/0.6581, allocations: 475.2 kB / 0.7552 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.223e-05/0.6582, allocations: 52 kB / 0.7552 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001507/0.6597, allocations: 0.834 MB / 0.756 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002446/0.66, allocations: 231.4 kB / 0.7562 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003441/0.6603, allocations: 342.5 kB / 0.7566 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001493/0.6618, allocations: 1.13 MB / 0.7577 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6619, allocations: 0 / 0.7577 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.784e-06/0.6619, allocations: 0 / 0.7577 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.353e-05/0.6619, allocations: 0 / 0.7577 GB, free: 11.15 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001345/0.6632, allocations: 0.9154 MB / 0.7586 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.6633, allocations: 12.03 kB / 0.7586 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.352e-05/0.6634, allocations: 86.52 kB / 0.7587 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/0.6645, allocations: 167.2 kB / 0.7588 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007193/0.6653, allocations: 0.5013 MB / 0.7593 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.6653, allocations: 33 kB / 0.7593 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.221e-05/0.6654, allocations: 47.94 kB / 0.7594 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007747/0.6662, allocations: 482.3 kB / 0.7599 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.6662, allocations: 0 / 0.7599 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.35e-05/0.6663, allocations: 16 kB / 0.7599 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.841e-05/0.6663, allocations: 17 kB / 0.7599 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006266/0.6669, allocations: 411.7 kB / 0.7603 GB, free: 8.387 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.002415/0.6694, allocations: 1.743 MB / 0.762 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000444/0.6698, allocations: 318.8 kB / 0.7623 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/0.6701, allocations: 176.7 kB / 0.7625 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001742/0.6702, allocations: 101.1 kB / 0.7625 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.6703, allocations: 46.55 kB / 0.7626 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 1.463e-06/0.6703, allocations: 0 / 0.7626 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002004/0.6723, allocations: 1.049 MB / 0.7636 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.6723, allocations: 55.41 kB / 0.7637 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004727/0.6728, allocations: 457.9 kB / 0.7641 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.881e-05/0.6729, allocations: 37.7 kB / 0.7641 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.673, allocations: 244.1 kB / 0.7644 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.219e-05/0.6731, allocations: 122.3 kB / 0.7645 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.6733, allocations: 65.7 kB / 0.7646 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.6734, allocations: 366.7 kB / 0.7649 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.6736, allocations: 127.9 kB / 0.765 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002529/0.6739, allocations: 198.7 kB / 0.7652 GB, free: 3.031 MB / 0.5919 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00188/0.6758, allocations: 0.8516 MB / 0.766 GB, free: 2.141 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6758, allocations: 0 / 0.766 GB, free: 2.141 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006206/0.6764, allocations: 414.6 kB / 0.7664 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.6764, allocations: 4 kB / 0.7664 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.6764, allocations: 0 / 0.7664 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.6765, allocations: 4 kB / 0.7664 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003278/0.6768, allocations: 67.91 kB / 0.7665 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.6768, allocations: 11.88 kB / 0.7665 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004015/0.6772, allocations: 19.92 kB / 0.7665 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/0.6773, allocations: 16 kB / 0.7666 GB, free: 1.609 MB / 0.5919 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * 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.0002485/0.6775, allocations: 216.4 kB / 0.7668 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.891e-05/0.6776, allocations: 51.34 kB / 0.7668 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.6777, allocations: 64.75 kB / 0.7669 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.6777, allocations: 4 kB / 0.7669 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.6777, allocations: 0 / 0.7669 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004615/0.6782, allocations: 405.1 kB / 0.7673 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/0.68, allocations: 1.249 MB / 0.7685 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.68, allocations: 7.938 kB / 0.7685 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003527/0.6803, allocations: 71.91 kB / 0.7686 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.778e-06/0.6804, allocations: 8 kB / 0.7686 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.6804, allocations: 8 kB / 0.7686 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.195e-06/0.6804, allocations: 15.92 kB / 0.7686 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.405e-06/0.6804, allocations: 4 kB / 0.7686 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000859/0.6813, allocations: 0.7195 MB / 0.7693 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002071/0.6815, allocations: 168.5 kB / 0.7695 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.008e-05/0.6816, allocations: 12.06 kB / 0.7695 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004094/0.682, allocations: 27.89 kB / 0.7695 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.232e-05/0.6821, allocations: 31.84 kB / 0.7695 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.965e-05/0.6821, allocations: 20 kB / 0.7695 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003361/0.6824, allocations: 331.1 kB / 0.7699 GB, free: 14 MB / 0.6075 GB Notification: Performance of sort global known variables: time 5.61e-07/0.6825, allocations: 4 kB / 0.7699 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005188/0.683, allocations: 144 kB / 0.77 GB, free: 13.85 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.U,vol.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 (33): * Single equations (assignments): 33 * 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.001351/0.6843, allocations: 1.316 MB / 0.7713 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000646/0.685, allocations: 348.2 kB / 0.7716 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.685, allocations: 4.375 kB / 0.7716 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000221/0.6852, allocations: 165 kB / 0.7718 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/0.687, allocations: 370.7 kB / 0.7721 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005186/0.6922, allocations: 4.461 MB / 0.7765 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000448/0.6927, allocations: 0.8862 MB / 0.7774 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005306/0.6932, allocations: 132.6 kB / 0.7775 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002466/0.6935, allocations: 171.4 kB / 0.7776 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of SimCode: time 6.92e-07/0.6935, allocations: 0 / 0.7776 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03445/0.7279, allocations: 15.39 MB / 0.7927 GB, free: 6.656 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.562/8.29, allocations: 19.28 kB / 0.7927 GB, free: 6.641 MB / 0.6231 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_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_MixingVolumeMassFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)