Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",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.001247/0.001247, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.262/1.262, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002111/0.002111, allocations: 306.5 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9134/0.9134, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 95.23 kB / 0.5953 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1299, allocations: 86.98 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.4416/0.5716, allocations: 209.9 MB / 0.8852 GB, free: 340 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01254/0.5842, allocations: 9.873 MB / 0.8949 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00123/0.5854, allocations: 57.44 kB / 0.8949 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001666/0.5871, allocations: 0.7751 MB / 0.8957 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005506/0.5927, allocations: 2.808 MB / 0.8984 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002881/0.5956, allocations: 1.369 MB / 0.8998 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003989/0.5995, allocations: 4.07 MB / 0.9037 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001473/0.601, allocations: 1.324 MB / 0.905 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001825/0.6029, allocations: 1.343 MB / 0.9063 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001874/0.6048, allocations: 1.232 MB / 0.9075 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002146/0.605, allocations: 144 kB / 0.9077 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00415/0.6091, allocations: 2.385 MB / 0.91 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005517/0.6097, allocations: 0.6078 MB / 0.9106 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008492/0.6106, allocations: 0.8595 MB / 0.9114 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003654/0.6142, allocations: 2.984 MB / 0.9144 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.6142, allocations: 0 / 0.9144 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6142, allocations: 4 kB / 0.9144 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.539e-05/0.6143, allocations: 3.938 kB / 0.9144 GB, free: 7.562 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002611/0.6169, allocations: 1.905 MB / 0.9162 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.6169, allocations: 8.031 kB / 0.9162 GB, free: 5.594 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001912/0.6171, allocations: 173.3 kB / 0.9164 GB, free: 5.414 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002955/0.6201, allocations: 489.7 kB / 0.9169 GB, free: 4.934 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.6216, allocations: 1.053 MB / 0.9179 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.657e-05/0.6217, allocations: 90.11 kB / 0.918 GB, free: 3.742 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.6218, allocations: 111.9 kB / 0.9181 GB, free: 3.633 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.6235, allocations: 1.158 MB / 0.9192 GB, free: 2.445 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.6235, allocations: 7.938 kB / 0.9192 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.6236, allocations: 44 kB / 0.9193 GB, free: 2.395 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.242e-05/0.6237, allocations: 42.12 kB / 0.9193 GB, free: 2.352 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/0.6252, allocations: 1.07 MB / 0.9204 GB, free: 1.273 MB / 0.6231 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.004994/0.6302, allocations: 4.242 MB / 0.9245 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.6313, allocations: 0.7894 MB / 0.9253 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005949/0.6319, allocations: 482.8 kB / 0.9257 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003609/0.6323, allocations: 292.3 kB / 0.926 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.6324, allocations: 43.56 kB / 0.926 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=83): time 3.447e-06/0.6324, allocations: 8.266 kB / 0.9261 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of matching and sorting (n=89): time 0.004886/0.6373, allocations: 2.852 MB / 0.9288 GB, free: 8.145 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.6373, allocations: 64.41 kB / 0.9289 GB, free: 8.07 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.6384, allocations: 0.9716 MB / 0.9298 GB, free: 7.082 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.516e-05/0.6384, allocations: 41.7 kB / 0.9299 GB, free: 7.035 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003561/0.6388, allocations: 0.5395 MB / 0.9304 GB, free: 6.488 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002289/0.639, allocations: 315.4 kB / 0.9307 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/0.6392, allocations: 158.6 kB / 0.9309 GB, free: 6.012 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.6394, allocations: 345.9 kB / 0.9312 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004757/0.6398, allocations: 337.8 kB / 0.9315 GB, free: 5.34 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005843/0.6404, allocations: 481.9 kB / 0.932 GB, free: 4.832 MB / 0.6387 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) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00558/0.646, allocations: 3.055 MB / 0.935 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.646, allocations: 0 / 0.935 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001381/0.6474, allocations: 1.012 MB / 0.9359 GB, free: 0.6719 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.6475, allocations: 12 kB / 0.936 GB, free: 0.6602 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.6475, allocations: 4 kB / 0.936 GB, free: 0.6562 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.6475, allocations: 4 kB / 0.936 GB, free: 0.6523 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006836/0.6482, allocations: 183.7 kB / 0.9361 GB, free: 484 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.6482, allocations: 8 kB / 0.9362 GB, free: 476 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008728/0.6491, allocations: 27.98 kB / 0.9362 GB, free: 448 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-05/0.6492, allocations: 32 kB / 0.9362 GB, free: 416 kB / 0.6387 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (108): * Single equations (assignments): 108 * 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.0004556/0.6496, allocations: 395.3 kB / 0.9366 GB, free: 12 kB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/0.6498, allocations: 130.6 kB / 0.9367 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.6501, allocations: 148.3 kB / 0.9369 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-06/0.6501, allocations: 8 kB / 0.9369 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.6501, allocations: 4 kB / 0.9369 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001358/0.6514, allocations: 1.086 MB / 0.9379 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004018/0.6555, allocations: 3.051 MB / 0.9409 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.6555, allocations: 12.06 kB / 0.9409 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006454/0.6562, allocations: 159.7 kB / 0.9411 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002998/0.6565, allocations: 101.7 kB / 0.9412 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.496e-05/0.6565, allocations: 31.94 kB / 0.9412 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002124/0.6587, allocations: 3.09 MB / 0.9442 GB, free: 7.652 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.469e-05/0.6587, allocations: 19.92 kB / 0.9442 GB, free: 7.633 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/0.6607, allocations: 1.733 MB / 0.9459 GB, free: 5.766 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004048/0.6611, allocations: 307.5 kB / 0.9462 GB, free: 5.445 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.6613, allocations: 35.94 kB / 0.9463 GB, free: 5.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008476/0.6621, allocations: 41.8 kB / 0.9463 GB, free: 5.371 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.6623, allocations: 88.11 kB / 0.9464 GB, free: 5.285 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.147e-05/0.6623, allocations: 43.98 kB / 0.9464 GB, free: 5.242 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007565/0.6631, allocations: 0.6917 MB / 0.9471 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6631, allocations: 0 / 0.9471 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009158/0.664, allocations: 372 kB / 0.9474 GB, free: 4.18 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.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 (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00264/0.6667, allocations: 2.413 MB / 0.9498 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001401/0.6681, allocations: 0.9566 MB / 0.9507 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/0.6681, allocations: 4 kB / 0.9507 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008212/0.6689, allocations: 0.6703 MB / 0.9514 GB, free: 15.97 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003709/0.6727, allocations: 0.9278 MB / 0.9523 GB, free: 15.07 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/0.684, allocations: 10.3 MB / 0.9624 GB, free: 4.152 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007706/0.6848, allocations: 1.249 MB / 0.9636 GB, free: 2.875 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001099/0.6859, allocations: 339 kB / 0.9639 GB, free: 2.539 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005523/0.6864, allocations: 479.3 kB / 0.9644 GB, free: 2.07 MB / 0.67 GB Notification: Performance of SimCode: time 2.81e-07/0.6864, allocations: 0 / 0.9644 GB, free: 2.07 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06529/0.7517, allocations: 38.21 MB / 1.002 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.273/10.03, allocations: 8 kB / 1.002 GB, free: 12.46 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)