Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="IBPSA_latest_IBPSA_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.00105/0.00105, allocations: 102.9 kB / 16.27 MB, free: 5.93 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.0009902/0.0009902, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.27/1.27, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7362/0.7362, allocations: 122.9 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 59.91 kB / 0.4912 GB, free: 7.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3001, allocations: 77.93 MB / 0.5673 GB, free: 33.03 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1602/0.4603, allocations: 170.8 MB / 0.734 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005058/0.4654, allocations: 3.389 MB / 0.7374 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005308/0.466, allocations: 23.88 kB / 0.7374 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008533/0.4669, allocations: 306.1 kB / 0.7377 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00208/0.469, allocations: 1.022 MB / 0.7387 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001477/0.4705, allocations: 0.6591 MB / 0.7393 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00159/0.4721, allocations: 1.529 MB / 0.7408 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006348/0.4727, allocations: 469.5 kB / 0.7412 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008392/0.4735, allocations: 0.5681 MB / 0.7418 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009752/0.4745, allocations: 471.7 kB / 0.7423 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001118/0.4747, allocations: 52 kB / 0.7423 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001337/0.476, allocations: 0.8262 MB / 0.7431 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002488/0.4763, allocations: 239.4 kB / 0.7433 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000359/0.4766, allocations: 338.5 kB / 0.7437 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.478, allocations: 1.118 MB / 0.7448 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.478, allocations: 0 / 0.7448 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.92e-07/0.478, allocations: 8 kB / 0.7448 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.404e-05/0.478, allocations: 0 / 0.7448 GB, free: 4.621 MB / 0.5762 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.001335/0.4793, allocations: 0.9192 MB / 0.7457 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.4794, allocations: 12.62 kB / 0.7457 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.817e-05/0.4795, allocations: 78.53 kB / 0.7457 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.4807, allocations: 175.2 kB / 0.7459 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000687/0.4814, allocations: 0.4974 MB / 0.7464 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.4814, allocations: 36.98 kB / 0.7464 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-05/0.4815, allocations: 44 kB / 0.7465 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007345/0.4822, allocations: 478.4 kB / 0.7469 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.4822, allocations: 0 / 0.7469 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.742e-05/0.4823, allocations: 20 kB / 0.747 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.118e-05/0.4823, allocations: 17 kB / 0.747 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006133/0.4829, allocations: 415.7 kB / 0.7474 GB, free: 1.844 MB / 0.5762 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.2216/0.7045, allocations: 1.745 MB / 0.7491 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006588/0.7052, allocations: 292.6 kB / 0.7493 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003013/0.7056, allocations: 182.3 kB / 0.7495 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001945/0.7058, allocations: 103.1 kB / 0.7496 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.7058, allocations: 38.66 kB / 0.7497 GB, free: 173 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.384e-06/0.7058, allocations: 0 / 0.7497 GB, free: 173 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.002221/0.708, allocations: 1.055 MB / 0.7507 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/0.7081, allocations: 56.62 kB / 0.7507 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000578/0.7087, allocations: 463.3 kB / 0.7512 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.128e-05/0.7087, allocations: 32.23 kB / 0.7512 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.7089, allocations: 249.2 kB / 0.7515 GB, free: 172 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.813e-05/0.709, allocations: 112.6 kB / 0.7516 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.7091, allocations: 72.45 kB / 0.7516 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.76e-05/0.7092, allocations: 358.3 kB / 0.752 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.7094, allocations: 125.7 kB / 0.7521 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.7097, allocations: 197.5 kB / 0.7523 GB, free: 171.4 MB / 0.5762 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.001935/0.7116, allocations: 0.8574 MB / 0.7531 GB, free: 171 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.7116, allocations: 4.812 kB / 0.7531 GB, free: 171 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006278/0.7122, allocations: 415.7 kB / 0.7535 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.7123, allocations: 6.375 kB / 0.7535 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.7123, allocations: 2.094 kB / 0.7535 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.7123, allocations: 4.844 kB / 0.7535 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003216/0.7126, allocations: 75.42 kB / 0.7536 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.7126, allocations: 10.95 kB / 0.7536 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004028/0.7131, allocations: 11.59 kB / 0.7536 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.418e-05/0.7131, allocations: 14.86 kB / 0.7536 GB, free: 170.8 MB / 0.5762 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.0002151/0.7133, allocations: 216.3 kB / 0.7538 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.52e-05/0.7134, allocations: 50.09 kB / 0.7539 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.7135, allocations: 57.06 kB / 0.7539 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.7135, allocations: 4.656 kB / 0.7539 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.7135, allocations: 1 kB / 0.7539 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004791/0.714, allocations: 414.6 kB / 0.7543 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.7158, allocations: 1.242 MB / 0.7556 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.7158, allocations: 5.062 kB / 0.7556 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003771/0.7162, allocations: 70.72 kB / 0.7556 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/0.7162, allocations: 5.5 kB / 0.7556 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/0.7163, allocations: 12.97 kB / 0.7556 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.678e-06/0.7163, allocations: 10.39 kB / 0.7557 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/0.7163, allocations: 4.688 kB / 0.7557 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009221/0.7172, allocations: 0.7044 MB / 0.7563 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001978/0.7174, allocations: 167.6 kB / 0.7565 GB, free: 169 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.931e-05/0.7175, allocations: 11.64 kB / 0.7565 GB, free: 169 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004213/0.7179, allocations: 21.22 kB / 0.7565 GB, free: 169 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.28e-05/0.718, allocations: 33.23 kB / 0.7566 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.932e-05/0.7181, allocations: 23 kB / 0.7566 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003377/0.7184, allocations: 329.9 kB / 0.7569 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7184, allocations: 1.156 kB / 0.7569 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005303/0.7189, allocations: 144.8 kB / 0.757 GB, free: 168.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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.001168/0.7201, allocations: 1.306 MB / 0.7583 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005442/0.7207, allocations: 342 kB / 0.7587 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.7207, allocations: 4.781 kB / 0.7587 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.7209, allocations: 166.4 kB / 0.7588 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/0.7226, allocations: 371.1 kB / 0.7592 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004733/0.7274, allocations: 4.466 MB / 0.7635 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.7277, allocations: 0.8885 MB / 0.7644 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005076/0.7282, allocations: 133.1 kB / 0.7645 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/0.7284, allocations: 170.8 kB / 0.7647 GB, free: 164 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.7285, allocations: 0 / 0.7647 GB, free: 164 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03265/0.7611, allocations: 15.38 MB / 0.7797 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.28/8.041, allocations: 8.469 kB / 0.7797 GB, free: 156.7 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)