Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.573/1.573, allocations: 285.4 MB / 298 MB, free: 5.969 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.001098/0.001098, allocations: 180.8 kB / 366.4 MB, free: 2.098 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.564/1.564, allocations: 205.1 MB / 0.6248 GB, free: 7.77 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.00095/0.00095, allocations: 96.83 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.005e-05/5.026e-05, allocations: 8 kB / 0.8584 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7166/0.7167, allocations: 115.3 MB / 0.971 GB, free: 77.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.935/5.652, allocations: 2.085 GB / 3.056 GB, free: 8.586 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003699/5.652, allocations: 85.5 kB / 3.056 GB, free: 8.543 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.472/8.124, allocations: 0.5877 GB / 3.644 GB, free: 168.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.312e-06/8.124, allocations: 0 / 3.644 GB, free: 168.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.598e-05/8.125, allocations: 23.98 kB / 3.644 GB, free: 168.2 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.002499/8.127, allocations: 1.127 MB / 3.645 GB, free: 167 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.043e-05/8.127, allocations: 15.97 kB / 3.645 GB, free: 167 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001483/8.127, allocations: 122.5 kB / 3.645 GB, free: 166.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/8.128, allocations: 216.4 kB / 3.645 GB, free: 166.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/8.13, allocations: 0.655 MB / 3.646 GB, free: 166 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.23e-05/8.13, allocations: 61.98 kB / 3.646 GB, free: 165.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/8.13, allocations: 76 kB / 3.646 GB, free: 165.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/8.131, allocations: 0.8938 MB / 3.647 GB, free: 164.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/8.131, allocations: 0 / 3.647 GB, free: 164.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.516e-05/8.131, allocations: 35.98 kB / 3.647 GB, free: 164.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.575e-05/8.131, allocations: 29.31 kB / 3.647 GB, free: 164.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008246/8.132, allocations: 0.5827 MB / 3.648 GB, free: 164.2 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.003581/8.136, allocations: 4.554 MB / 3.652 GB, free: 159.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005221/8.136, allocations: 436.4 kB / 3.653 GB, free: 158.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/8.137, allocations: 228.6 kB / 3.653 GB, free: 158.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001845/8.137, allocations: 97.09 kB / 3.653 GB, free: 158.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/8.137, allocations: 43.59 kB / 3.653 GB, free: 158.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 3.617e-06/8.137, allocations: 0 / 3.653 GB, free: 158.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=45): time 0.00227/8.139, allocations: 1.392 MB / 3.654 GB, free: 157.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/8.139, allocations: 114.9 kB / 3.654 GB, free: 156.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006497/8.14, allocations: 0.6132 MB / 3.655 GB, free: 156.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.908e-05/8.14, allocations: 37.7 kB / 3.655 GB, free: 156.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/8.14, allocations: 411.8 kB / 3.655 GB, free: 155.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/8.14, allocations: 169.7 kB / 3.656 GB, free: 155.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.248e-05/8.14, allocations: 8 kB / 3.656 GB, free: 155.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001125/8.14, allocations: 386.8 kB / 3.656 GB, free: 155.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/8.141, allocations: 173.5 kB / 3.656 GB, free: 155.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003549/8.141, allocations: 412.9 kB / 3.656 GB, free: 154.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.001423/8.142, allocations: 0.6603 MB / 3.657 GB, free: 153.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/8.142, allocations: 4 kB / 3.657 GB, free: 153.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008193/8.143, allocations: 0.6445 MB / 3.658 GB, free: 153.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/8.143, allocations: 8.094 kB / 3.658 GB, free: 153.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/8.143, allocations: 12 kB / 3.658 GB, free: 153.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/8.143, allocations: 8 kB / 3.658 GB, free: 153.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004228/8.144, allocations: 135.7 kB / 3.658 GB, free: 153.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/8.144, allocations: 8 kB / 3.658 GB, free: 153.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006296/8.144, allocations: 59.72 kB / 3.658 GB, free: 153.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-05/8.144, allocations: 31.94 kB / 3.658 GB, free: 153 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 () * 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.0001585/8.145, allocations: 141.3 kB / 3.658 GB, free: 152.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/8.145, allocations: 83.05 kB / 3.658 GB, free: 152.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001895/8.145, allocations: 87.38 kB / 3.658 GB, free: 152.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/8.145, allocations: 8 kB / 3.658 GB, free: 152.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/8.145, allocations: 3.953 kB / 3.658 GB, free: 152.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005663/8.146, allocations: 0.6959 MB / 3.659 GB, free: 151.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001951/8.148, allocations: 1.595 MB / 3.661 GB, free: 150.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/8.148, allocations: 4 kB / 3.661 GB, free: 150.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004155/8.148, allocations: 99.89 kB / 3.661 GB, free: 150.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/8.148, allocations: 12.47 kB / 3.661 GB, free: 150.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.194e-05/8.148, allocations: 23.92 kB / 3.661 GB, free: 150.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/8.148, allocations: 8 kB / 3.661 GB, free: 150.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/8.148, allocations: 4 kB / 3.661 GB, free: 150.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009714/8.149, allocations: 1.042 MB / 3.662 GB, free: 148.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003399/8.149, allocations: 212.1 kB / 3.662 GB, free: 148.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.529e-05/8.15, allocations: 23.48 kB / 3.662 GB, free: 148.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004852/8.15, allocations: 39.83 kB / 3.662 GB, free: 148.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.88e-05/8.15, allocations: 39.91 kB / 3.662 GB, free: 148.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.152e-05/8.15, allocations: 20 kB / 3.662 GB, free: 148.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005723/8.151, allocations: 0.4952 MB / 3.663 GB, free: 148 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/8.151, allocations: 0 / 3.663 GB, free: 148 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001444/8.152, allocations: 364 kB / 3.663 GB, free: 147.7 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 () * 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.003879/8.156, allocations: 4.163 MB / 3.667 GB, free: 143.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008185/8.157, allocations: 456.2 kB / 3.667 GB, free: 142.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/8.157, allocations: 0 / 3.667 GB, free: 142.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002391/8.157, allocations: 205.9 kB / 3.668 GB, free: 142.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002094/8.159, allocations: 458.6 kB / 3.668 GB, free: 142.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002586/8.162, allocations: 1.511 MB / 3.669 GB, free: 140.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/8.162, allocations: 1.04 MB / 3.671 GB, free: 139.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006851/8.163, allocations: 206.9 kB / 3.671 GB, free: 139.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003243/8.163, allocations: 295.3 kB / 3.671 GB, free: 139.1 MB / 0.948 GB Notification: Performance of SimCode: time 5.81e-07/8.163, allocations: 3.828 kB / 3.671 GB, free: 139.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07561/8.239, allocations: 51.18 MB / 3.721 GB, free: 88.14 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/8.239, allocations: 231 kB / 3.721 GB, free: 87.83 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.836/12.08, allocations: 4 kB / 3.721 GB, free: 87.82 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)