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.608/1.608, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001199/0.0012, allocations: 180.3 kB / 361.4 MB, free: 6.82 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.499/1.499, allocations: 205.3 MB / 0.62 GB, free: 11.65 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.0008894/0.0008894, allocations: 90.53 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.33e-05/3.338e-05, allocations: 8 kB / 0.8518 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7449/0.745, allocations: 115.3 MB / 0.9644 GB, free: 78.63 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.187/5.932, allocations: 2.085 GB / 3.049 GB, free: 30.45 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003461/5.932, allocations: 86.77 kB / 3.049 GB, free: 30.41 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.581/8.514, allocations: 0.5811 GB / 3.63 GB, free: 199.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.933e-06/8.514, allocations: 0 / 3.63 GB, free: 199.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.491e-05/8.514, allocations: 27.84 kB / 3.63 GB, free: 199.8 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.002246/8.516, allocations: 1.139 MB / 3.631 GB, free: 198.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/8.516, allocations: 12.03 kB / 3.631 GB, free: 198.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/8.517, allocations: 198.8 kB / 3.632 GB, free: 198.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/8.518, allocations: 0.6636 MB / 3.632 GB, free: 197.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/8.518, allocations: 24 kB / 3.632 GB, free: 197.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-05/8.518, allocations: 47.95 kB / 3.632 GB, free: 197.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008354/8.519, allocations: 0.5076 MB / 3.633 GB, free: 197.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/8.52, allocations: 0.7814 MB / 3.634 GB, free: 196.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/8.52, allocations: 3.938 kB / 3.634 GB, free: 196.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.749e-05/8.52, allocations: 7.938 kB / 3.634 GB, free: 196.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.019e-05/8.52, allocations: 29.31 kB / 3.634 GB, free: 196.3 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.003566/8.524, allocations: 4.384 MB / 3.638 GB, free: 191.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004817/8.524, allocations: 414.6 kB / 3.638 GB, free: 191.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/8.525, allocations: 227.2 kB / 3.638 GB, free: 191 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001871/8.525, allocations: 97.09 kB / 3.639 GB, free: 190.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/8.525, allocations: 38.56 kB / 3.639 GB, free: 190.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 2.305e-06/8.525, allocations: 0 / 3.639 GB, free: 190.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=45): time 0.002214/8.527, allocations: 1.317 MB / 3.64 GB, free: 189.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/8.527, allocations: 106.8 kB / 3.64 GB, free: 189.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004235/8.528, allocations: 434.3 kB / 3.64 GB, free: 188.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/8.528, allocations: 25.7 kB / 3.64 GB, free: 188.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/8.528, allocations: 431 kB / 3.641 GB, free: 188.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/8.528, allocations: 157.7 kB / 3.641 GB, free: 188.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.153e-05/8.528, allocations: 0 / 3.641 GB, free: 188.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000103/8.528, allocations: 378.7 kB / 3.641 GB, free: 187.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/8.528, allocations: 161.5 kB / 3.641 GB, free: 187.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003123/8.529, allocations: 399.3 kB / 3.642 GB, free: 187.2 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.001364/8.53, allocations: 0.6259 MB / 3.642 GB, free: 186.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/8.53, allocations: 7.938 kB / 3.642 GB, free: 186.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000763/8.531, allocations: 0.5797 MB / 3.643 GB, free: 186 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/8.531, allocations: 11.98 kB / 3.643 GB, free: 186 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/8.531, allocations: 4 kB / 3.643 GB, free: 186 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/8.531, allocations: 12 kB / 3.643 GB, free: 186 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004261/8.531, allocations: 123.8 kB / 3.643 GB, free: 185.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/8.531, allocations: 13.55 kB / 3.643 GB, free: 185.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005235/8.532, allocations: 36.03 kB / 3.643 GB, free: 185.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.522e-05/8.532, allocations: 31.98 kB / 3.643 GB, free: 185.8 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.0001136/8.532, allocations: 140.3 kB / 3.643 GB, free: 185.6 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005214/8.533, allocations: 408.7 kB / 3.644 GB, free: 185.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/8.533, allocations: 67.16 kB / 3.644 GB, free: 185.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001356/8.533, allocations: 74.25 kB / 3.644 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/8.533, allocations: 4 kB / 3.644 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/8.533, allocations: 4 kB / 3.644 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004634/8.533, allocations: 0.6534 MB / 3.645 GB, free: 184.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/8.535, allocations: 1.469 MB / 3.646 GB, free: 182.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-06/8.535, allocations: 4.031 kB / 3.646 GB, free: 182.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004172/8.536, allocations: 107 kB / 3.646 GB, free: 182.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/8.536, allocations: 8 kB / 3.646 GB, free: 182.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.766e-05/8.536, allocations: 4 kB / 3.646 GB, free: 182.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/8.536, allocations: 11.98 kB / 3.646 GB, free: 182.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/8.536, allocations: 7.938 kB / 3.646 GB, free: 182.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008121/8.536, allocations: 1.01 MB / 3.647 GB, free: 181.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001878/8.537, allocations: 180.4 kB / 3.647 GB, free: 181.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.603e-05/8.537, allocations: 11.98 kB / 3.647 GB, free: 181.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004176/8.537, allocations: 23.94 kB / 3.647 GB, free: 181.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/8.537, allocations: 39.89 kB / 3.647 GB, free: 181.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/8.537, allocations: 20 kB / 3.647 GB, free: 181.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002728/8.537, allocations: 326.9 kB / 3.648 GB, free: 180.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/8.537, allocations: 0 / 3.648 GB, free: 180.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009689/8.538, allocations: 296 kB / 3.648 GB, free: 180.6 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.00296/8.541, allocations: 4.322 MB / 3.652 GB, free: 176.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005738/8.542, allocations: 413.4 kB / 3.653 GB, free: 175.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/8.542, allocations: 4.5 kB / 3.653 GB, free: 175.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002032/8.542, allocations: 191.7 kB / 3.653 GB, free: 175.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/8.544, allocations: 307.8 kB / 3.653 GB, free: 175.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/8.546, allocations: 1.447 MB / 3.654 GB, free: 173.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/8.546, allocations: 1.039 MB / 3.656 GB, free: 172.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005136/8.547, allocations: 169.2 kB / 3.656 GB, free: 172.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002956/8.547, allocations: 283.3 kB / 3.656 GB, free: 172.3 MB / 0.948 GB Notification: Performance of SimCode: time 3.31e-07/8.547, allocations: 0 / 3.656 GB, free: 172.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04971/8.597, allocations: 29.12 MB / 3.684 GB, free: 143.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/8.597, allocations: 213 kB / 3.685 GB, free: 143 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.956/11.55, allocations: 0 / 3.685 GB, free: 143 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)