Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.819/2.819, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001577/0.001577, allocations: 180.8 kB / 360.6 MB, free: 7.285 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.995/1.995, allocations: 205.3 MB / 0.6191 GB, free: 12.16 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.00206/0.00206, allocations: 88.17 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.548e-05/4.531e-05, allocations: 7.984 kB / 0.8509 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8324/0.8325, allocations: 115.2 MB / 0.9634 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.046/6.879, allocations: 2.084 GB / 3.048 GB, free: 33.82 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003212/6.879, allocations: 85.64 kB / 3.048 GB, free: 33.77 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.449/10.33, allocations: 0.5812 GB / 3.629 GB, free: 203.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.964e-06/10.33, allocations: 0 / 3.629 GB, free: 203.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.426e-05/10.33, allocations: 24 kB / 3.629 GB, free: 203.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.003048/10.33, allocations: 1.123 MB / 3.63 GB, free: 202.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/10.33, allocations: 12.03 kB / 3.63 GB, free: 202.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001867/10.33, allocations: 207.9 kB / 3.63 GB, free: 202.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002003/10.34, allocations: 0.6668 MB / 3.631 GB, free: 201.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.66e-05/10.34, allocations: 27.95 kB / 3.631 GB, free: 201.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/10.34, allocations: 48 kB / 3.631 GB, free: 201.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001364/10.34, allocations: 0.5037 MB / 3.632 GB, free: 201.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/10.34, allocations: 0.7813 MB / 3.632 GB, free: 200.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.852e-05/10.34, allocations: 8 kB / 3.632 GB, free: 200.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/10.34, allocations: 0 / 3.632 GB, free: 200.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.312e-05/10.34, allocations: 29.31 kB / 3.632 GB, free: 200.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.005755/10.34, allocations: 4.382 MB / 3.637 GB, free: 195.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008023/10.35, allocations: 413.5 kB / 3.637 GB, free: 195.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004014/10.35, allocations: 216 kB / 3.637 GB, free: 195 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002348/10.35, allocations: 103.8 kB / 3.637 GB, free: 194.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/10.35, allocations: 46.55 kB / 3.637 GB, free: 194.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 3.366e-06/10.35, allocations: 0 / 3.637 GB, free: 194.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=45): time 0.003452/10.35, allocations: 1.31 MB / 3.639 GB, free: 193.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/10.35, allocations: 114.9 kB / 3.639 GB, free: 193.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006644/10.35, allocations: 430.3 kB / 3.639 GB, free: 192.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.887e-05/10.35, allocations: 25.7 kB / 3.639 GB, free: 192.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003163/10.35, allocations: 427 kB / 3.64 GB, free: 192.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/10.35, allocations: 153.8 kB / 3.64 GB, free: 192.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/10.35, allocations: 0 / 3.64 GB, free: 192.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001223/10.35, allocations: 378.7 kB / 3.64 GB, free: 191.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003574/10.35, allocations: 161.5 kB / 3.64 GB, free: 191.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004952/10.35, allocations: 395.3 kB / 3.641 GB, free: 191.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.002518/10.35, allocations: 0.6376 MB / 3.641 GB, free: 190.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/10.35, allocations: 4 kB / 3.641 GB, free: 190.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001321/10.36, allocations: 0.5671 MB / 3.642 GB, free: 190 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/10.36, allocations: 11.98 kB / 3.642 GB, free: 190 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/10.36, allocations: 12 kB / 3.642 GB, free: 190 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.168e-05/10.36, allocations: 8 kB / 3.642 GB, free: 190 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008549/10.36, allocations: 128.5 kB / 3.642 GB, free: 189.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/10.36, allocations: 12 kB / 3.642 GB, free: 189.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/10.36, allocations: 35.81 kB / 3.642 GB, free: 189.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-05/10.36, allocations: 28 kB / 3.642 GB, free: 189.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.000191/10.36, allocations: 140.7 kB / 3.642 GB, free: 189.6 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009478/10.36, allocations: 413.7 kB / 3.643 GB, free: 189.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/10.36, allocations: 67.16 kB / 3.643 GB, free: 189.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000226/10.36, allocations: 74.19 kB / 3.643 GB, free: 189.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/10.36, allocations: 4 kB / 3.643 GB, free: 189.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/10.36, allocations: 4 kB / 3.643 GB, free: 189.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007582/10.36, allocations: 0.6559 MB / 3.643 GB, free: 188.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003144/10.36, allocations: 1.469 MB / 3.645 GB, free: 186.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/10.36, allocations: 4 kB / 3.645 GB, free: 186.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008621/10.36, allocations: 95.89 kB / 3.645 GB, free: 186.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.424e-05/10.36, allocations: 8 kB / 3.645 GB, free: 186.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.209e-05/10.36, allocations: 8 kB / 3.645 GB, free: 186.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.437e-06/10.36, allocations: 12.39 kB / 3.645 GB, free: 186.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/10.36, allocations: 8 kB / 3.645 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/10.37, allocations: 0.998 MB / 3.646 GB, free: 185.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004606/10.37, allocations: 184.4 kB / 3.646 GB, free: 185.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/10.37, allocations: 11.94 kB / 3.646 GB, free: 185.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008105/10.37, allocations: 31.92 kB / 3.646 GB, free: 185.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.341e-05/10.37, allocations: 39.89 kB / 3.646 GB, free: 185.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.507e-05/10.37, allocations: 12 kB / 3.646 GB, free: 185.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005143/10.37, allocations: 326.9 kB / 3.646 GB, free: 184.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.71e-07/10.37, allocations: 7.828 kB / 3.646 GB, free: 184.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001541/10.37, allocations: 303.9 kB / 3.647 GB, free: 184.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.004953/10.37, allocations: 4.318 MB / 3.651 GB, free: 180.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001183/10.38, allocations: 423.7 kB / 3.651 GB, free: 179.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/10.38, allocations: 4 kB / 3.651 GB, free: 179.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003648/10.38, allocations: 189.6 kB / 3.652 GB, free: 179.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002605/10.38, allocations: 302.3 kB / 3.652 GB, free: 179.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003835/10.38, allocations: 1.428 MB / 3.653 GB, free: 177.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006124/10.38, allocations: 1.051 MB / 3.654 GB, free: 176.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001034/10.38, allocations: 165.2 kB / 3.654 GB, free: 176.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005067/10.39, allocations: 291.3 kB / 3.655 GB, free: 176.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.283e-06/10.39, allocations: 0 / 3.655 GB, free: 176.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09748/10.48, allocations: 29.12 MB / 3.683 GB, free: 147.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003053/10.48, allocations: 201.2 kB / 3.683 GB, free: 147.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.909/14.39, allocations: 0 / 3.683 GB, free: 147.1 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)