Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.759/1.759, allocations: 292.6 MB / 307.5 MB, free: 5.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001362/0.001362, allocations: 188.5 kB / 377.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.964/1.964, allocations: 205.4 MB / 0.6366 GB, free: 8.625 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 97.81 kB / 0.7509 GB, free: 63.27 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004203/0.0004202, allocations: 8 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3269, allocations: 116.3 MB / 0.9884 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.499/6.826, allocations: 2.086 GB / 3.075 GB, free: 95.81 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004033/6.826, allocations: 93.55 kB / 3.075 GB, free: 95.76 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.023/9.85, allocations: 0.5883 GB / 3.663 GB, free: 166.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.753e-06/9.85, allocations: 0 / 3.663 GB, free: 166.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002109/9.85, allocations: 22.78 kB / 3.663 GB, free: 166.4 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.005767/9.856, allocations: 1.249 MB / 3.664 GB, free: 165.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 8.06e-05/9.856, allocations: 7.219 kB / 3.664 GB, free: 165.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006199/9.856, allocations: 124.5 kB / 3.664 GB, free: 165.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002114/9.858, allocations: 214.1 kB / 3.665 GB, free: 165.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002366/9.861, allocations: 0.6498 MB / 3.665 GB, free: 165.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.48e-05/9.861, allocations: 72.31 kB / 3.665 GB, free: 165.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002864/9.861, allocations: 73.19 kB / 3.665 GB, free: 165.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/9.863, allocations: 0.9027 MB / 3.666 GB, free: 165.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.27e-05/9.863, allocations: 6.781 kB / 3.666 GB, free: 165.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.317e-05/9.863, allocations: 34.47 kB / 3.666 GB, free: 165.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.432e-05/9.863, allocations: 29.41 kB / 3.666 GB, free: 165.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009797/9.864, allocations: 0.5883 MB / 3.667 GB, free: 165.1 MB / 0.948 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.004822/9.869, allocations: 4.577 MB / 3.671 GB, free: 161.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006597/9.87, allocations: 439.9 kB / 3.672 GB, free: 161.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002168/9.87, allocations: 97.56 kB / 3.672 GB, free: 161.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/9.87, allocations: 41.19 kB / 3.672 GB, free: 161.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 4.038e-06/9.87, allocations: 0 / 3.672 GB, free: 161.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=45): time 0.003077/9.873, allocations: 1.557 MB / 3.673 GB, free: 161.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/9.873, allocations: 117.4 kB / 3.673 GB, free: 160.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000796/9.874, allocations: 0.6167 MB / 3.674 GB, free: 160.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.098e-05/9.874, allocations: 36.36 kB / 3.674 GB, free: 160.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003132/9.874, allocations: 418.4 kB / 3.675 GB, free: 160.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001681/9.875, allocations: 164.3 kB / 3.675 GB, free: 160.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.396e-05/9.875, allocations: 15.66 kB / 3.675 GB, free: 160.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001548/9.875, allocations: 390.8 kB / 3.675 GB, free: 160 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002921/9.875, allocations: 178.3 kB / 3.675 GB, free: 159.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004458/9.876, allocations: 417.6 kB / 3.676 GB, free: 159.6 MB / 0.948 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 (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001637/9.877, allocations: 0.6569 MB / 3.676 GB, free: 159.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/9.877, allocations: 0 / 3.676 GB, free: 159.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001024/9.878, allocations: 0.6587 MB / 3.677 GB, free: 159 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/9.878, allocations: 9.5 kB / 3.677 GB, free: 159 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/9.878, allocations: 3.844 kB / 3.677 GB, free: 159 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.883e-05/9.878, allocations: 11.06 kB / 3.677 GB, free: 159 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004692/9.879, allocations: 124.2 kB / 3.677 GB, free: 159 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.841e-05/9.879, allocations: 17.66 kB / 3.677 GB, free: 159 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000707/9.88, allocations: 53.95 kB / 3.677 GB, free: 159 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.631e-05/9.88, allocations: 25.72 kB / 3.677 GB, free: 159 MB / 0.948 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005412/9.88, allocations: 279.8 kB / 3.677 GB, free: 158.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/9.88, allocations: 78.16 kB / 3.678 GB, free: 158.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001776/9.881, allocations: 90.23 kB / 3.678 GB, free: 158.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/9.881, allocations: 10.41 kB / 3.678 GB, free: 158.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/9.881, allocations: 0 / 3.678 GB, free: 158.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006838/9.881, allocations: 0.6838 MB / 3.678 GB, free: 158.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002504/9.884, allocations: 1.6 MB / 3.68 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/9.884, allocations: 10.58 kB / 3.68 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004736/9.884, allocations: 104.2 kB / 3.68 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.407e-06/9.884, allocations: 3.938 kB / 3.68 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-05/9.884, allocations: 15.59 kB / 3.68 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/9.884, allocations: 6.438 kB / 3.68 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/9.884, allocations: 7.875 kB / 3.68 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/9.886, allocations: 1.053 MB / 3.681 GB, free: 156.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003803/9.886, allocations: 207.7 kB / 3.681 GB, free: 156.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/9.886, allocations: 15.03 kB / 3.681 GB, free: 156.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005566/9.887, allocations: 45.83 kB / 3.681 GB, free: 156.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.229e-05/9.887, allocations: 41.77 kB / 3.681 GB, free: 156.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/9.887, allocations: 18.12 kB / 3.681 GB, free: 156.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006446/9.887, allocations: 0.5014 MB / 3.682 GB, free: 156 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.9e-07/9.887, allocations: 0 / 3.682 GB, free: 156 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001923/9.889, allocations: 360.6 kB / 3.682 GB, free: 155.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004677/9.894, allocations: 4.202 MB / 3.686 GB, free: 153 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009624/9.895, allocations: 465.4 kB / 3.687 GB, free: 152.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/9.895, allocations: 3.75 kB / 3.687 GB, free: 152.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002689/9.895, allocations: 202.9 kB / 3.687 GB, free: 152.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002155/9.898, allocations: 459.1 kB / 3.687 GB, free: 152.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008693/9.906, allocations: 8.973 MB / 3.696 GB, free: 145.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006737/9.907, allocations: 1.048 MB / 3.697 GB, free: 145.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001053/9.908, allocations: 189 kB / 3.697 GB, free: 145.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004265/9.908, allocations: 300.4 kB / 3.698 GB, free: 144.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.873e-06/9.908, allocations: 0 / 3.698 GB, free: 144.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09856/10.01, allocations: 46.95 MB / 3.743 GB, free: 139.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003473/10.01, allocations: 255 kB / 3.744 GB, free: 139 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.757/13.76, allocations: 0 / 3.744 GB, free: 139 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)