Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Validation.MixingVolumeMassFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="IDEAS_dev_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.007372/0.007372, allocations: 100.6 kB / 15.73 MB, free: 6.043 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.002057/0.002057, allocations: 202.5 kB / 16.68 MB, free: 5.965 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9252/0.9252, allocations: 135.6 MB / 426.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 71.89 kB / 0.5857 GB, free: 3.227 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3452, allocations: 81.02 MB / 0.6649 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1885/0.5337, allocations: 170.8 MB / 0.8316 GB, free: 5.543 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005734/0.5395, allocations: 3.365 MB / 0.8349 GB, free: 2.168 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006153/0.5402, allocations: 31.81 kB / 0.835 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009105/0.5411, allocations: 310.1 kB / 0.8353 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00243/0.5436, allocations: 1.015 MB / 0.8362 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001655/0.5452, allocations: 0.6645 MB / 0.8369 GB, free: 156 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002072/0.5473, allocations: 1.523 MB / 0.8384 GB, free: 14.62 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007499/0.5481, allocations: 481.5 kB / 0.8388 GB, free: 14.15 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.5491, allocations: 0.5654 MB / 0.8394 GB, free: 13.59 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001217/0.5503, allocations: 469.7 kB / 0.8398 GB, free: 13.13 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.5505, allocations: 56 kB / 0.8399 GB, free: 13.07 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001619/0.5521, allocations: 0.8263 MB / 0.8407 GB, free: 12.25 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003007/0.5524, allocations: 243.4 kB / 0.8409 GB, free: 12.01 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004363/0.5528, allocations: 338.5 kB / 0.8413 GB, free: 11.68 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001737/0.5546, allocations: 1.137 MB / 0.8424 GB, free: 10.54 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.5546, allocations: 0 / 0.8424 GB, free: 10.54 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5546, allocations: 0 / 0.8424 GB, free: 10.54 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.607e-05/0.5546, allocations: 4 kB / 0.8424 GB, free: 10.53 MB / 0.67 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.001459/0.5561, allocations: 0.9301 MB / 0.8433 GB, free: 9.551 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.5561, allocations: 8.031 kB / 0.8433 GB, free: 9.543 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001061/0.5563, allocations: 90.45 kB / 0.8434 GB, free: 9.445 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.5574, allocations: 179.4 kB / 0.8435 GB, free: 9.27 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000874/0.5583, allocations: 0.529 MB / 0.8441 GB, free: 8.703 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.5584, allocations: 29 kB / 0.8441 GB, free: 8.676 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.479e-05/0.5584, allocations: 48 kB / 0.8441 GB, free: 8.629 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008176/0.5593, allocations: 470.3 kB / 0.8446 GB, free: 8.164 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.5593, allocations: 0 / 0.8446 GB, free: 8.164 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.871e-05/0.5594, allocations: 20 kB / 0.8446 GB, free: 8.145 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.944e-05/0.5594, allocations: 17 kB / 0.8446 GB, free: 8.129 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006919/0.5601, allocations: 415.7 kB / 0.845 GB, free: 7.723 MB / 0.67 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.002705/0.5628, allocations: 1.728 MB / 0.8467 GB, free: 5.863 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005108/0.5633, allocations: 314.8 kB / 0.847 GB, free: 5.547 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/0.5636, allocations: 176.8 kB / 0.8472 GB, free: 5.371 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001908/0.5638, allocations: 101.1 kB / 0.8473 GB, free: 5.254 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.5638, allocations: 38.56 kB / 0.8473 GB, free: 5.207 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 1.623e-06/0.5638, allocations: 0 / 0.8473 GB, free: 5.207 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.001972/0.5658, allocations: 1.061 MB / 0.8483 GB, free: 4.098 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.5659, allocations: 55.41 kB / 0.8484 GB, free: 4.031 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005169/0.5664, allocations: 453.9 kB / 0.8488 GB, free: 3.574 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/0.5664, allocations: 37.7 kB / 0.8489 GB, free: 3.531 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.5667, allocations: 256.4 kB / 0.8491 GB, free: 3.277 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.5668, allocations: 119 kB / 0.8492 GB, free: 3.16 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.5669, allocations: 77.66 kB / 0.8493 GB, free: 3.078 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.5671, allocations: 358.7 kB / 0.8496 GB, free: 2.719 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.5673, allocations: 123.9 kB / 0.8498 GB, free: 2.598 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.5676, allocations: 206.7 kB / 0.85 GB, free: 2.371 MB / 0.67 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.001925/0.5695, allocations: 0.8574 MB / 0.8508 GB, free: 1.477 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.5695, allocations: 0 / 0.8508 GB, free: 1.477 MB / 0.67 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006542/0.5702, allocations: 429.9 kB / 0.8512 GB, free: 1.051 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.5702, allocations: 10.66 kB / 0.8512 GB, free: 1.043 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.5702, allocations: 0 / 0.8512 GB, free: 1.043 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.5702, allocations: 4 kB / 0.8512 GB, free: 1.039 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003014/0.5705, allocations: 67.91 kB / 0.8513 GB, free: 0.9727 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.5706, allocations: 4 kB / 0.8513 GB, free: 0.9688 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003595/0.5709, allocations: 18.39 kB / 0.8513 GB, free: 0.9531 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.302e-05/0.571, allocations: 12 kB / 0.8513 GB, free: 0.9414 MB / 0.67 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.0002641/0.5712, allocations: 213.8 kB / 0.8515 GB, free: 0.7227 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.425e-05/0.5713, allocations: 55.69 kB / 0.8516 GB, free: 0.668 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.5715, allocations: 64.75 kB / 0.8516 GB, free: 0.6055 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.5715, allocations: 4 kB / 0.8516 GB, free: 0.6016 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5715, allocations: 0 / 0.8516 GB, free: 0.6016 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005231/0.572, allocations: 401.5 kB / 0.852 GB, free: 184 kB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001839/0.5739, allocations: 1.249 MB / 0.8532 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.5739, allocations: 4 kB / 0.8532 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003593/0.5742, allocations: 79.89 kB / 0.8533 GB, free: 14.74 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.5743, allocations: 4 kB / 0.8533 GB, free: 14.74 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.997e-05/0.5743, allocations: 12 kB / 0.8533 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.5743, allocations: 8 kB / 0.8533 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.5743, allocations: 7.938 kB / 0.8533 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009306/0.5753, allocations: 0.7318 MB / 0.8541 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002168/0.5755, allocations: 168.8 kB / 0.8542 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.106e-05/0.5756, allocations: 23.92 kB / 0.8542 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003875/0.576, allocations: 13.5 kB / 0.8543 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.677e-05/0.576, allocations: 39.78 kB / 0.8543 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.362e-05/0.5761, allocations: 19.98 kB / 0.8543 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003826/0.5765, allocations: 331.1 kB / 0.8546 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5765, allocations: 4 kB / 0.8546 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0005213/0.577, allocations: 143.9 kB / 0.8548 GB, free: 13.17 MB / 0.6856 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.001567/0.5786, allocations: 1.327 MB / 0.8561 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005874/0.5792, allocations: 319.6 kB / 0.8564 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/0.5792, allocations: 384 / 0.8564 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002445/0.5795, allocations: 167.7 kB / 0.8565 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/0.5812, allocations: 355.4 kB / 0.8569 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005712/0.5869, allocations: 4.409 MB / 0.8612 GB, free: 6.328 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005539/0.5874, allocations: 0.8823 MB / 0.862 GB, free: 5.418 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004311/0.5879, allocations: 136.6 kB / 0.8622 GB, free: 5.281 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002549/0.5881, allocations: 167.4 kB / 0.8623 GB, free: 5.117 MB / 0.6856 GB Notification: Performance of SimCode: time 4.91e-07/0.5882, allocations: 0 / 0.8623 GB, free: 5.117 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3094/0.8976, allocations: 15.52 MB / 0.8775 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.493/9.391, allocations: 9.703 kB / 0.8775 GB, free: 189.1 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)