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.001265/0.001265, allocations: 104.5 kB / 16.4 MB, free: 5.973 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.001735/0.001735, allocations: 195.1 kB / 17.34 MB, free: 5.582 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 / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7134/0.7134, allocations: 122.9 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 67.94 kB / 0.568 GB, free: 28.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1302, allocations: 77.94 MB / 0.6441 GB, free: 9.531 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.4801/0.6103, allocations: 170.8 MB / 0.8108 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004857/0.6152, allocations: 3.386 MB / 0.8141 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008426/0.6161, allocations: 21.38 kB / 0.8141 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009849/0.6171, allocations: 333.5 kB / 0.8145 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002541/0.6196, allocations: 1.049 MB / 0.8155 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001601/0.6213, allocations: 0.6658 MB / 0.8161 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0018/0.6231, allocations: 1.547 MB / 0.8176 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007285/0.6238, allocations: 478 kB / 0.8181 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.6249, allocations: 0.5826 MB / 0.8187 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.626, allocations: 470.1 kB / 0.8191 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001451/0.6262, allocations: 55 kB / 0.8192 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001863/0.628, allocations: 0.8346 MB / 0.82 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000372/0.6284, allocations: 240.1 kB / 0.8202 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004646/0.6289, allocations: 341.5 kB / 0.8205 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.6304, allocations: 1.142 MB / 0.8217 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.6304, allocations: 0 / 0.8217 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6304, allocations: 0 / 0.8217 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.6304, allocations: 0 / 0.8217 GB, free: 7.203 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.00128/0.6317, allocations: 0.9273 MB / 0.8226 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.6317, allocations: 9.969 kB / 0.8226 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.077e-05/0.6318, allocations: 85.98 kB / 0.8227 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.633, allocations: 174.9 kB / 0.8228 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007549/0.6337, allocations: 0.5316 MB / 0.8233 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.6338, allocations: 30.81 kB / 0.8234 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.099e-05/0.6339, allocations: 43.62 kB / 0.8234 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006992/0.6346, allocations: 469.6 kB / 0.8239 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.6346, allocations: 0 / 0.8239 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.967e-05/0.6346, allocations: 21.78 kB / 0.8239 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.6347, allocations: 13.56 kB / 0.8239 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005783/0.6352, allocations: 417.3 kB / 0.8243 GB, free: 5.344 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.002279/0.6375, allocations: 1.733 MB / 0.826 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004339/0.638, allocations: 291.8 kB / 0.8263 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002349/0.6382, allocations: 181.5 kB / 0.8264 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001626/0.6384, allocations: 108.6 kB / 0.8265 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.6384, allocations: 41.03 kB / 0.8266 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 2.665e-06/0.6384, allocations: 0 / 0.8266 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001778/0.6402, allocations: 1.067 MB / 0.8276 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.6403, allocations: 64.16 kB / 0.8277 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004228/0.6407, allocations: 449.3 kB / 0.8281 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.6407, allocations: 38.7 kB / 0.8281 GB, free: 2.434 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.6409, allocations: 253.5 kB / 0.8284 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.914e-05/0.641, allocations: 128.8 kB / 0.8285 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.6411, allocations: 64.95 kB / 0.8286 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.6413, allocations: 355.2 kB / 0.8289 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.6414, allocations: 131.4 kB / 0.829 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/0.6417, allocations: 197.6 kB / 0.8292 GB, free: 1.508 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.001796/0.6435, allocations: 0.8536 MB / 0.8301 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.6435, allocations: 0 / 0.8301 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005528/0.6441, allocations: 429.4 kB / 0.8305 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.6441, allocations: 8.547 kB / 0.8305 GB, free: 0.7578 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.6441, allocations: 2.719 kB / 0.8305 GB, free: 0.7578 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.6441, allocations: 7 kB / 0.8305 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00029/0.6444, allocations: 67.06 kB / 0.8306 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.6444, allocations: 5.281 kB / 0.8306 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003751/0.6448, allocations: 17.22 kB / 0.8306 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.6448, allocations: 10.12 kB / 0.8306 GB, free: 0.7305 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.0002167/0.6451, allocations: 210.6 kB / 0.8308 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.265e-05/0.6452, allocations: 62.88 kB / 0.8308 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.6453, allocations: 57.55 kB / 0.8309 GB, free: 488 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.6453, allocations: 8.656 kB / 0.8309 GB, free: 484 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.6453, allocations: 0 / 0.8309 GB, free: 484 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004426/0.6457, allocations: 402.3 kB / 0.8313 GB, free: 196 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001638/0.6474, allocations: 1.248 MB / 0.8325 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.6474, allocations: 6.375 kB / 0.8325 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003315/0.6478, allocations: 73.56 kB / 0.8326 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.6478, allocations: 5.531 kB / 0.8326 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/0.6478, allocations: 11.38 kB / 0.8326 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.6478, allocations: 10.36 kB / 0.8326 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/0.6478, allocations: 9.469 kB / 0.8326 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007621/0.6486, allocations: 0.7073 MB / 0.8333 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002176/0.6488, allocations: 174 kB / 0.8335 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.245e-05/0.6489, allocations: 12.95 kB / 0.8335 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004018/0.6493, allocations: 14.12 kB / 0.8335 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.6494, allocations: 39.19 kB / 0.8335 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-05/0.6494, allocations: 24.61 kB / 0.8336 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00031/0.6497, allocations: 331.2 kB / 0.8339 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6497, allocations: 0 / 0.8339 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004915/0.6502, allocations: 136.1 kB / 0.834 GB, free: 14.27 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.001253/0.6515, allocations: 1.323 MB / 0.8353 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004794/0.652, allocations: 325.4 kB / 0.8356 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.652, allocations: 2.594 kB / 0.8356 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002059/0.6522, allocations: 166.2 kB / 0.8358 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/0.6538, allocations: 355.8 kB / 0.8361 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004752/0.6586, allocations: 4.414 MB / 0.8404 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004326/0.659, allocations: 0.8914 MB / 0.8413 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000396/0.6594, allocations: 137.8 kB / 0.8414 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/0.6596, allocations: 166.7 kB / 0.8416 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of SimCode: time 5.81e-07/0.6597, allocations: 4 kB / 0.8416 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03297/0.6926, allocations: 15.45 MB / 0.8567 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.785/8.477, allocations: 13.39 kB / 0.8567 GB, free: 10.48 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)