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.00108/0.00108, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001125/0.001125, allocations: 190.6 kB / 16.14 MB, free: 6.66 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.272/1.272, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00203/0.00203, allocations: 279 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9356/0.9356, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 92.14 kB / 0.5946 GB, free: 28.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1343, allocations: 86.98 MB / 0.6795 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.4226/0.5569, allocations: 168.5 MB / 0.8441 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005494/0.5624, allocations: 3.421 MB / 0.8474 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007229/0.5632, allocations: 19.22 kB / 0.8475 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008255/0.564, allocations: 274 kB / 0.8477 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002064/0.5661, allocations: 0.9549 MB / 0.8487 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001421/0.5676, allocations: 0.6101 MB / 0.8493 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001873/0.5694, allocations: 2.103 MB / 0.8513 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004979/0.57, allocations: 418.5 kB / 0.8517 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000676/0.5706, allocations: 486.3 kB / 0.8522 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008959/0.5716, allocations: 483.3 kB / 0.8526 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.784e-05/0.5716, allocations: 27.28 kB / 0.8527 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001519/0.5732, allocations: 0.9523 MB / 0.8536 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002079/0.5734, allocations: 216.6 kB / 0.8538 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002926/0.5737, allocations: 307 kB / 0.8541 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.5749, allocations: 1.153 MB / 0.8552 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.5749, allocations: 0 / 0.8552 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of FrontEnd: time 6.01e-07/0.5749, allocations: 0 / 0.8552 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.5749, allocations: 0 / 0.8552 GB, free: 9.629 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.00129/0.5762, allocations: 0.917 MB / 0.8561 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.5763, allocations: 10.84 kB / 0.8561 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.57e-05/0.5764, allocations: 81.34 kB / 0.8562 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/0.5776, allocations: 181.9 kB / 0.8564 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006764/0.5783, allocations: 0.5007 MB / 0.8569 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.5783, allocations: 30.25 kB / 0.8569 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.983e-05/0.5784, allocations: 43.47 kB / 0.8569 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007156/0.5791, allocations: 480.4 kB / 0.8574 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.5791, allocations: 0 / 0.8574 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.16e-05/0.5792, allocations: 21.78 kB / 0.8574 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/0.5792, allocations: 13.56 kB / 0.8574 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005947/0.5798, allocations: 413.5 kB / 0.8578 GB, free: 7.793 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.002303/0.5821, allocations: 1.736 MB / 0.8595 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004407/0.5826, allocations: 292.6 kB / 0.8598 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002359/0.5828, allocations: 190 kB / 0.86 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000168/0.583, allocations: 97.94 kB / 0.8601 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.583, allocations: 44.69 kB / 0.8601 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.443e-06/0.583, allocations: 2.562 kB / 0.8601 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001872/0.5849, allocations: 1.05 MB / 0.8611 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.585, allocations: 56.53 kB / 0.8612 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004426/0.5854, allocations: 455.7 kB / 0.8616 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.5855, allocations: 32.52 kB / 0.8617 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.5856, allocations: 251.9 kB / 0.8619 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.884e-05/0.5857, allocations: 120.6 kB / 0.862 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.5859, allocations: 69.48 kB / 0.8621 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.586, allocations: 360.9 kB / 0.8624 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.5862, allocations: 124.7 kB / 0.8625 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.5864, allocations: 192.3 kB / 0.8627 GB, free: 3.988 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.001854/0.5883, allocations: 0.8627 MB / 0.8636 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.5883, allocations: 2.594 kB / 0.8636 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005892/0.5889, allocations: 419.3 kB / 0.864 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.5889, allocations: 9.234 kB / 0.864 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.5889, allocations: 2.406 kB / 0.864 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.589, allocations: 6.516 kB / 0.864 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002918/0.5893, allocations: 71.5 kB / 0.8641 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.5893, allocations: 5.656 kB / 0.8641 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004221/0.5897, allocations: 32.83 kB / 0.8641 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.329e-05/0.5898, allocations: 13.62 kB / 0.8641 GB, free: 3.195 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.0002254/0.59, allocations: 207.4 kB / 0.8643 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.441e-05/0.5901, allocations: 55.19 kB / 0.8644 GB, free: 3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.5902, allocations: 61.03 kB / 0.8644 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.5902, allocations: 4.719 kB / 0.8644 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.5902, allocations: 0 / 0.8644 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004494/0.5907, allocations: 411.5 kB / 0.8648 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/0.5924, allocations: 1.249 MB / 0.866 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.5924, allocations: 4.875 kB / 0.866 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003483/0.5927, allocations: 77.66 kB / 0.8661 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.5928, allocations: 4.969 kB / 0.8661 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/0.5928, allocations: 12.25 kB / 0.8661 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.106e-06/0.5928, allocations: 16.33 kB / 0.8661 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5928, allocations: 5.688 kB / 0.8661 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007805/0.5936, allocations: 0.7026 MB / 0.8668 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001924/0.5938, allocations: 164.9 kB / 0.867 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.294e-05/0.5939, allocations: 13.52 kB / 0.867 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004427/0.5943, allocations: 32.39 kB / 0.867 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.5944, allocations: 34.78 kB / 0.8671 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-05/0.5944, allocations: 23.66 kB / 0.8671 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003211/0.5948, allocations: 328.5 kB / 0.8674 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5948, allocations: 0 / 0.8674 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005178/0.5953, allocations: 144.1 kB / 0.8675 GB, free: 0.7305 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.001258/0.5966, allocations: 1.303 MB / 0.8688 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004893/0.5971, allocations: 322.2 kB / 0.8691 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5971, allocations: 0 / 0.8691 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.5973, allocations: 167.6 kB / 0.8693 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001633/0.5989, allocations: 353.3 kB / 0.8696 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005271/0.6042, allocations: 4.633 MB / 0.8741 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/0.6046, allocations: 0.8895 MB / 0.875 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005259/0.6052, allocations: 135.9 kB / 0.8751 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002312/0.6054, allocations: 162.5 kB / 0.8753 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of SimCode: time 7.22e-07/0.6054, allocations: 3.938 kB / 0.8753 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02639/0.6318, allocations: 14.81 MB / 0.8898 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/0.632, allocations: 263.6 kB / 0.89 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.986/2.618, allocations: 0 / 0.89 GB, free: 15.15 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)