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.001667/0.001667, allocations: 105.5 kB / 16.41 MB, free: 6.469 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.001911/0.001911, allocations: 191.9 kB / 17.34 MB, free: 5.75 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7603/0.7603, allocations: 126.1 MB / 417.3 MB, free: 12.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 67.95 kB / 0.5726 GB, free: 27.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1343, allocations: 78.7 MB / 0.6494 GB, free: 4.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.4887/0.623, allocations: 170.8 MB / 0.8162 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005067/0.6281, allocations: 3.378 MB / 0.8195 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008638/0.629, allocations: 23.12 kB / 0.8195 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.63, allocations: 317.7 kB / 0.8198 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002678/0.6328, allocations: 1.059 MB / 0.8209 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00167/0.6344, allocations: 0.6728 MB / 0.8215 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001916/0.6364, allocations: 1.527 MB / 0.823 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007601/0.6371, allocations: 479 kB / 0.8235 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001092/0.6382, allocations: 0.5922 MB / 0.8241 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001246/0.6395, allocations: 461.3 kB / 0.8245 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001514/0.6397, allocations: 55.88 kB / 0.8246 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.6412, allocations: 0.8349 MB / 0.8254 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003338/0.6416, allocations: 243.2 kB / 0.8256 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005839/0.6422, allocations: 334.4 kB / 0.8259 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001739/0.6439, allocations: 1.135 MB / 0.827 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6439, allocations: 4 kB / 0.827 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6439, allocations: 0 / 0.827 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.865e-05/0.644, allocations: 0 / 0.827 GB, free: 5.539 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.001714/0.6457, allocations: 0.9272 MB / 0.8279 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.6457, allocations: 9.594 kB / 0.8279 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001268/0.6459, allocations: 92.2 kB / 0.828 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/0.6471, allocations: 170.9 kB / 0.8282 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008562/0.648, allocations: 0.5251 MB / 0.8287 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.117e-05/0.648, allocations: 38.8 kB / 0.8287 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.872e-05/0.6481, allocations: 46.5 kB / 0.8288 GB, free: 4.156 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007545/0.6489, allocations: 473.6 kB / 0.8292 GB, free: 3.887 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.6489, allocations: 0 / 0.8292 GB, free: 3.887 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.716e-05/0.6489, allocations: 29.16 kB / 0.8293 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.283e-05/0.649, allocations: 13.53 kB / 0.8293 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006271/0.6496, allocations: 413.5 kB / 0.8297 GB, free: 3.664 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.002484/0.6521, allocations: 1.74 MB / 0.8314 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004556/0.6526, allocations: 295.7 kB / 0.8317 GB, free: 2.078 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002388/0.6528, allocations: 180.2 kB / 0.8318 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001673/0.653, allocations: 104.2 kB / 0.8319 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.653, allocations: 45.28 kB / 0.832 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 1.573e-06/0.653, allocations: 0 / 0.832 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001898/0.6549, allocations: 1.062 MB / 0.833 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.655, allocations: 54.44 kB / 0.8331 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004583/0.6554, allocations: 458.4 kB / 0.8335 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.212e-05/0.6555, allocations: 32.48 kB / 0.8335 GB, free: 0.7578 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.6557, allocations: 253.3 kB / 0.8338 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.785e-05/0.6558, allocations: 120.5 kB / 0.8339 GB, free: 440 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.6559, allocations: 69.84 kB / 0.834 GB, free: 392 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.656, allocations: 355.6 kB / 0.8343 GB, free: 40 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.6562, allocations: 126.5 kB / 0.8344 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002384/0.6565, allocations: 198 kB / 0.8346 GB, free: 15.84 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.001822/0.6583, allocations: 0.8648 MB / 0.8354 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.6583, allocations: 0 / 0.8354 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005816/0.6589, allocations: 417.3 kB / 0.8358 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.6589, allocations: 5.656 kB / 0.8359 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.659, allocations: 3.938 kB / 0.8359 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.659, allocations: 9 kB / 0.8359 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/0.6593, allocations: 71.41 kB / 0.8359 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.6593, allocations: 2.188 kB / 0.8359 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/0.6597, allocations: 21.2 kB / 0.836 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/0.6597, allocations: 12.06 kB / 0.836 GB, free: 15.06 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.0002311/0.6599, allocations: 216.7 kB / 0.8362 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-05/0.66, allocations: 53.17 kB / 0.8362 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.6602, allocations: 67.61 kB / 0.8363 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.6602, allocations: 5.125 kB / 0.8363 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.6602, allocations: 4 kB / 0.8363 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004602/0.6607, allocations: 403.6 kB / 0.8367 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00166/0.6623, allocations: 1.246 MB / 0.8379 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.6623, allocations: 2.531 kB / 0.8379 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003232/0.6627, allocations: 73.53 kB / 0.838 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.6627, allocations: 9.812 kB / 0.838 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.797e-05/0.6627, allocations: 14.78 kB / 0.838 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.6627, allocations: 9.625 kB / 0.838 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.6627, allocations: 4.531 kB / 0.838 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008122/0.6636, allocations: 0.7208 MB / 0.8387 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002135/0.6638, allocations: 169.5 kB / 0.8389 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.825e-05/0.6639, allocations: 11.81 kB / 0.8389 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004004/0.6643, allocations: 19.33 kB / 0.8389 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.6643, allocations: 36.88 kB / 0.8389 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.394e-05/0.6644, allocations: 24.89 kB / 0.839 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003391/0.6647, allocations: 329 kB / 0.8393 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6647, allocations: 0 / 0.8393 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005101/0.6653, allocations: 140.3 kB / 0.8394 GB, free: 12.59 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.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.001326/0.6666, allocations: 1.301 MB / 0.8407 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000514/0.6671, allocations: 331.8 kB / 0.841 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.6671, allocations: 2.688 kB / 0.841 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002127/0.6673, allocations: 160.5 kB / 0.8412 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/0.669, allocations: 365.3 kB / 0.8415 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005262/0.6742, allocations: 4.425 MB / 0.8458 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004505/0.6747, allocations: 0.8852 MB / 0.8467 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004439/0.6751, allocations: 126.2 kB / 0.8468 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002443/0.6754, allocations: 172.6 kB / 0.847 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of SimCode: time 4.81e-07/0.6754, allocations: 0 / 0.847 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03816/0.7136, allocations: 15.47 MB / 0.8621 GB, free: 7.797 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.891/8.604, allocations: 4.359 kB / 0.8621 GB, free: 7.797 MB / 0.6231 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)