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.004535/0.004535, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001253/0.001252, allocations: 192.5 kB / 16.67 MB, free: 5.969 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8188/0.8188, allocations: 132.2 MB / 422.7 MB, free: 6.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 64.19 kB / 0.5809 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.136, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.4935/0.6295, allocations: 170.8 MB / 0.826 GB, free: 3.289 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005552/0.6351, allocations: 3.384 MB / 0.8293 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004951/0.6356, allocations: 20.91 kB / 0.8293 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008393/0.6365, allocations: 309 kB / 0.8296 GB, free: 296 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002136/0.6387, allocations: 1.017 MB / 0.8306 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.6401, allocations: 0.6622 MB / 0.8312 GB, free: 15 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001541/0.6417, allocations: 1.526 MB / 0.8327 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005786/0.6423, allocations: 474.2 kB / 0.8332 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007343/0.643, allocations: 0.5723 MB / 0.8337 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009064/0.6439, allocations: 463.8 kB / 0.8342 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.065e-05/0.644, allocations: 56.94 kB / 0.8342 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.6453, allocations: 0.8392 MB / 0.835 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002366/0.6456, allocations: 230.8 kB / 0.8353 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003252/0.6459, allocations: 336.5 kB / 0.8356 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.6473, allocations: 1.138 MB / 0.8367 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.6473, allocations: 0 / 0.8367 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6473, allocations: 0 / 0.8367 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.542e-05/0.6473, allocations: 0 / 0.8367 GB, free: 11.7 MB / 0.6075 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.00134/0.6487, allocations: 0.9355 MB / 0.8376 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.6487, allocations: 9.406 kB / 0.8376 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.927e-05/0.6488, allocations: 81.97 kB / 0.8377 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/0.6499, allocations: 184.7 kB / 0.8379 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00081/0.6507, allocations: 0.5329 MB / 0.8384 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/0.6508, allocations: 34.88 kB / 0.8384 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.881e-05/0.6509, allocations: 43.61 kB / 0.8385 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007178/0.6516, allocations: 469.6 kB / 0.8389 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.6516, allocations: 2.938 kB / 0.8389 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.273e-05/0.6517, allocations: 18.88 kB / 0.8389 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/0.6517, allocations: 20.03 kB / 0.8389 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005978/0.6523, allocations: 410.9 kB / 0.8393 GB, free: 9.812 MB / 0.6075 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.002418/0.6547, allocations: 1.724 MB / 0.841 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004503/0.6552, allocations: 317.9 kB / 0.8413 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002357/0.6554, allocations: 184.2 kB / 0.8415 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001699/0.6556, allocations: 96.44 kB / 0.8416 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.6557, allocations: 37.34 kB / 0.8416 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 1.563e-06/0.6557, allocations: 0 / 0.8416 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.001822/0.6575, allocations: 1.062 MB / 0.8427 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.6575, allocations: 53.34 kB / 0.8427 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004779/0.658, allocations: 452.3 kB / 0.8431 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.373e-05/0.6581, allocations: 36.3 kB / 0.8432 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.6583, allocations: 256.3 kB / 0.8434 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.6584, allocations: 122 kB / 0.8435 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.6585, allocations: 77.09 kB / 0.8436 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.6587, allocations: 359.2 kB / 0.844 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.6589, allocations: 126.8 kB / 0.8441 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.6592, allocations: 200.4 kB / 0.8443 GB, free: 5.949 MB / 0.6075 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.001811/0.661, allocations: 0.8617 MB / 0.8451 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.661, allocations: 0 / 0.8451 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005694/0.6616, allocations: 416.3 kB / 0.8455 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.6616, allocations: 7.375 kB / 0.8455 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.6616, allocations: 2.688 kB / 0.8455 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.6616, allocations: 3.281 kB / 0.8455 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/0.6619, allocations: 71.19 kB / 0.8456 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.6619, allocations: 2.75 kB / 0.8456 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003658/0.6623, allocations: 11.38 kB / 0.8456 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.6623, allocations: 11.75 kB / 0.8456 GB, free: 5.18 MB / 0.6075 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.0002387/0.6626, allocations: 223 kB / 0.8458 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-05/0.6627, allocations: 59.42 kB / 0.8459 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.6628, allocations: 56.73 kB / 0.8459 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.6628, allocations: 2.719 kB / 0.8459 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.6628, allocations: 3.938 kB / 0.8459 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004844/0.6633, allocations: 411.7 kB / 0.8463 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001723/0.665, allocations: 1.249 MB / 0.8476 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.665, allocations: 2.094 kB / 0.8476 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003206/0.6654, allocations: 72.38 kB / 0.8476 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.6654, allocations: 5.125 kB / 0.8476 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.327e-05/0.6654, allocations: 19.52 kB / 0.8477 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.6654, allocations: 4.688 kB / 0.8477 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.6654, allocations: 9.406 kB / 0.8477 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008816/0.6663, allocations: 0.7341 MB / 0.8484 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/0.6665, allocations: 169.5 kB / 0.8485 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.827e-05/0.6666, allocations: 8.906 kB / 0.8486 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003823/0.667, allocations: 21.95 kB / 0.8486 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.694e-05/0.6671, allocations: 32.62 kB / 0.8486 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.913e-05/0.6671, allocations: 18.73 kB / 0.8486 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003511/0.6675, allocations: 333.1 kB / 0.8489 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6675, allocations: 0 / 0.8489 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005012/0.668, allocations: 144.3 kB / 0.8491 GB, free: 2.684 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.001407/0.6694, allocations: 1.33 MB / 0.8504 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005013/0.6699, allocations: 327.9 kB / 0.8507 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.816e-06/0.6699, allocations: 2.812 kB / 0.8507 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002486/0.6702, allocations: 165.1 kB / 0.8508 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00167/0.6719, allocations: 367.2 kB / 0.8512 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005501/0.6774, allocations: 4.41 MB / 0.8555 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005445/0.6779, allocations: 0.8862 MB / 0.8564 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004316/0.6784, allocations: 136.6 kB / 0.8565 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002457/0.6786, allocations: 167.4 kB / 0.8567 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of SimCode: time 5.01e-07/0.6786, allocations: 0 / 0.8567 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04173/0.7204, allocations: 15.5 MB / 0.8718 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.122/8.843, allocations: 12.41 kB / 0.8718 GB, free: 11.9 MB / 0.6387 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)