Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.502/1.502, allocations: 249.3 MB / 261.8 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 174.6 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.614/1.614, allocations: 205.2 MB / 0.572 GB, free: 10.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008489/0.0008489, allocations: 94.47 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.434e-05/5.507e-05, allocations: 4 kB / 0.788 GB, free: 97.04 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.224, allocations: 106.3 MB / 0.8919 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.823/6.047, allocations: 2.203 GB / 3.095 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003377/6.047, allocations: 88.33 kB / 3.095 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.39/8.437, allocations: 0.574 GB / 3.669 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.753e-06/8.437, allocations: 0 / 3.669 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.744e-05/8.437, allocations: 33.14 kB / 3.669 GB, free: 178.6 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002346/8.44, allocations: 1.132 MB / 3.671 GB, free: 178 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/8.44, allocations: 11.52 kB / 3.671 GB, free: 178 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001421/8.44, allocations: 120.8 kB / 3.671 GB, free: 178 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/8.441, allocations: 219.2 kB / 3.671 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/8.442, allocations: 0.653 MB / 3.671 GB, free: 177.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.963e-05/8.442, allocations: 58.5 kB / 3.672 GB, free: 177.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/8.442, allocations: 79.16 kB / 3.672 GB, free: 177.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/8.444, allocations: 0.9044 MB / 3.673 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/8.444, allocations: 7 kB / 3.673 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.499e-05/8.444, allocations: 31.39 kB / 3.673 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-05/8.444, allocations: 34.28 kB / 3.673 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008419/8.445, allocations: 0.5748 MB / 3.673 GB, free: 177.4 MB / 0.8698 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.003516/8.448, allocations: 4.582 MB / 3.678 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005282/8.449, allocations: 428.5 kB / 3.678 GB, free: 174.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002769/8.449, allocations: 233 kB / 3.678 GB, free: 174 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001989/8.449, allocations: 102.3 kB / 3.678 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/8.449, allocations: 41.38 kB / 3.678 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=43): time 3.326e-06/8.449, allocations: 0 / 3.678 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=45): time 0.002309/8.452, allocations: 1.391 MB / 3.68 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.975e-05/8.452, allocations: 114.2 kB / 3.68 GB, free: 173 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006572/8.452, allocations: 0.617 MB / 3.68 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.762e-05/8.452, allocations: 40.64 kB / 3.68 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002312/8.453, allocations: 417.7 kB / 3.681 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/8.453, allocations: 164.1 kB / 3.681 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.227e-05/8.453, allocations: 12 kB / 3.681 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001028/8.453, allocations: 394.8 kB / 3.681 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/8.453, allocations: 169.9 kB / 3.682 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000343/8.453, allocations: 407.3 kB / 3.682 GB, free: 171.5 MB / 0.8698 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.001366/8.455, allocations: 0.6411 MB / 3.683 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/8.455, allocations: 7.266 kB / 3.683 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008585/8.456, allocations: 0.6488 MB / 3.683 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/8.456, allocations: 7.219 kB / 3.683 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/8.456, allocations: 7.344 kB / 3.683 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.8e-05/8.456, allocations: 8.625 kB / 3.683 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004483/8.456, allocations: 126.7 kB / 3.683 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/8.456, allocations: 11.31 kB / 3.683 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006631/8.457, allocations: 61.09 kB / 3.683 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.939e-05/8.457, allocations: 30.73 kB / 3.683 GB, free: 170.9 MB / 0.8698 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.0001511/8.457, allocations: 148.6 kB / 3.684 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/8.457, allocations: 79.19 kB / 3.684 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/8.458, allocations: 90.09 kB / 3.684 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/8.458, allocations: 3.875 kB / 3.684 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/8.458, allocations: 3.969 kB / 3.684 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006027/8.458, allocations: 0.6882 MB / 3.684 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002162/8.46, allocations: 1.594 MB / 3.686 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/8.46, allocations: 6.812 kB / 3.686 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004209/8.461, allocations: 105.2 kB / 3.686 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.919e-06/8.461, allocations: 3.938 kB / 3.686 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.095e-05/8.461, allocations: 11.47 kB / 3.686 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/8.461, allocations: 10.72 kB / 3.686 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/8.461, allocations: 11.33 kB / 3.686 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/8.462, allocations: 1.042 MB / 3.687 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003034/8.462, allocations: 208.9 kB / 3.687 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.34e-05/8.462, allocations: 15.56 kB / 3.687 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004905/8.463, allocations: 49.36 kB / 3.687 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/8.463, allocations: 41.98 kB / 3.687 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.131e-05/8.463, allocations: 14.94 kB / 3.688 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006096/8.464, allocations: 0.4996 MB / 3.688 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.9e-07/8.464, allocations: 2.844 kB / 3.688 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00134/8.465, allocations: 360.9 kB / 3.688 GB, free: 167.8 MB / 0.8698 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.003606/8.469, allocations: 4.192 MB / 3.692 GB, free: 165 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0007885/8.469, allocations: 453.1 kB / 3.693 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/8.469, allocations: 0 / 3.693 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002395/8.47, allocations: 206 kB / 3.693 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002134/8.472, allocations: 439.2 kB / 3.693 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002617/8.474, allocations: 1.525 MB / 3.695 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004619/8.475, allocations: 1.054 MB / 3.696 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007131/8.476, allocations: 200.1 kB / 3.696 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003399/8.476, allocations: 300.5 kB / 3.696 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.052e-06/8.476, allocations: 3.938 kB / 3.696 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07613/8.552, allocations: 51.32 MB / 3.747 GB, free: 132.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/8.552, allocations: 228.8 kB / 3.747 GB, free: 131.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.743/12.3, allocations: 0 / 3.747 GB, free: 131.8 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)