Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.MixingVolumeMassFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="BuildingSystems_BuildingSystems_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.001075/0.001075, 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.001129/0.001128, allocations: 193.2 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.243/1.243, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00205/0.00205, allocations: 290.7 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8914/0.8914, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 93.97 kB / 0.5953 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1327, allocations: 86.98 MB / 0.6803 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.41/0.5427, allocations: 170.8 MB / 0.8471 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004702/0.5474, allocations: 3.381 MB / 0.8504 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000506/0.548, allocations: 21.22 kB / 0.8504 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008199/0.5488, allocations: 312.8 kB / 0.8507 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002025/0.5509, allocations: 1.018 MB / 0.8517 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.5523, allocations: 0.6539 MB / 0.8523 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001317/0.5536, allocations: 1.523 MB / 0.8538 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005068/0.5541, allocations: 487.4 kB / 0.8543 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006529/0.5548, allocations: 0.556 MB / 0.8548 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008029/0.5556, allocations: 469.3 kB / 0.8552 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.685e-05/0.5557, allocations: 55.44 kB / 0.8553 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.5569, allocations: 0.8321 MB / 0.8561 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002142/0.5571, allocations: 245.2 kB / 0.8563 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000307/0.5575, allocations: 332 kB / 0.8567 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.5586, allocations: 1.129 MB / 0.8578 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.5586, allocations: 2.75 kB / 0.8578 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5587, allocations: 0 / 0.8578 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.253e-05/0.5587, allocations: 0 / 0.8578 GB, free: 8.312 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.001258/0.5599, allocations: 0.9096 MB / 0.8587 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.56, allocations: 9.812 kB / 0.8587 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.482e-05/0.5601, allocations: 87.98 kB / 0.8587 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.5612, allocations: 176.5 kB / 0.8589 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000655/0.5619, allocations: 0.5009 MB / 0.8594 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.5619, allocations: 34.41 kB / 0.8594 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.242e-05/0.562, allocations: 40 kB / 0.8595 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006695/0.5626, allocations: 481.9 kB / 0.8599 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.5627, allocations: 2.281 kB / 0.8599 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.615e-05/0.5627, allocations: 14.88 kB / 0.86 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/0.5627, allocations: 15.97 kB / 0.86 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00056/0.5633, allocations: 425 kB / 0.8604 GB, free: 6.465 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.002201/0.5655, allocations: 1.734 MB / 0.8621 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004283/0.566, allocations: 303 kB / 0.8624 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/0.5662, allocations: 177.6 kB / 0.8625 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001599/0.5664, allocations: 99.94 kB / 0.8626 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.5664, allocations: 40.62 kB / 0.8627 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.633e-06/0.5664, allocations: 4 kB / 0.8627 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001807/0.5682, allocations: 1.052 MB / 0.8637 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.5683, allocations: 62.19 kB / 0.8637 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004522/0.5687, allocations: 451.4 kB / 0.8642 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.5688, allocations: 36.59 kB / 0.8642 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.5689, allocations: 252 kB / 0.8645 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.467e-05/0.569, allocations: 119.2 kB / 0.8646 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.5691, allocations: 71.23 kB / 0.8646 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.5693, allocations: 355.8 kB / 0.865 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.5694, allocations: 130.7 kB / 0.8651 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/0.5697, allocations: 191.5 kB / 0.8653 GB, free: 2.629 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.00174/0.5714, allocations: 0.8652 MB / 0.8661 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5714, allocations: 6.719 kB / 0.8661 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005424/0.572, allocations: 411.1 kB / 0.8665 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.572, allocations: 5.062 kB / 0.8665 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.572, allocations: 7.281 kB / 0.8665 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.572, allocations: 2.812 kB / 0.8665 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/0.5723, allocations: 78.03 kB / 0.8666 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.5723, allocations: 2.719 kB / 0.8666 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003691/0.5727, allocations: 20.94 kB / 0.8666 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-05/0.5728, allocations: 13.89 kB / 0.8667 GB, free: 1.844 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.000221/0.573, allocations: 210.4 kB / 0.8669 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.832e-05/0.5731, allocations: 52.56 kB / 0.8669 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.5732, allocations: 59.89 kB / 0.867 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.5732, allocations: 1.781 kB / 0.867 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-06/0.5732, allocations: 7.078 kB / 0.867 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004323/0.5736, allocations: 408.9 kB / 0.8674 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/0.5752, allocations: 1.245 MB / 0.8686 GB, free: 352 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.5752, allocations: 4.75 kB / 0.8686 GB, free: 352 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003225/0.5755, allocations: 77.8 kB / 0.8687 GB, free: 332 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.5756, allocations: 7.781 kB / 0.8687 GB, free: 332 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/0.5756, allocations: 8.938 kB / 0.8687 GB, free: 328 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.5756, allocations: 13.22 kB / 0.8687 GB, free: 320 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.5756, allocations: 4.75 kB / 0.8687 GB, free: 320 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007491/0.5764, allocations: 0.7055 MB / 0.8694 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001902/0.5766, allocations: 173.6 kB / 0.8695 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.897e-05/0.5766, allocations: 10.72 kB / 0.8695 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003943/0.577, allocations: 17.11 kB / 0.8696 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/0.5771, allocations: 39.05 kB / 0.8696 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.758e-05/0.5771, allocations: 18.62 kB / 0.8696 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003072/0.5775, allocations: 331.4 kB / 0.8699 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5775, allocations: 3.938 kB / 0.8699 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004788/0.578, allocations: 140.4 kB / 0.8701 GB, free: 15.38 MB / 0.5919 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.001152/0.5791, allocations: 1.3 MB / 0.8713 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005318/0.5797, allocations: 346.2 kB / 0.8717 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.5797, allocations: 2.719 kB / 0.8717 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002347/0.5799, allocations: 162.5 kB / 0.8718 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/0.5815, allocations: 370.2 kB / 0.8722 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004748/0.5863, allocations: 4.477 MB / 0.8766 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.5867, allocations: 0.8837 MB / 0.8774 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004639/0.5871, allocations: 133.7 kB / 0.8775 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/0.5874, allocations: 166.6 kB / 0.8777 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/0.5874, allocations: 0 / 0.8777 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03506/0.6224, allocations: 15.41 MB / 0.8928 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.407/8.03, allocations: 9.422 kB / 0.8928 GB, free: 13.23 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)