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 1.431/1.431, allocations: 287.4 MB / 302.6 MB, free: 8.176 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.0009627/0.0009627, allocations: 187.5 kB / 371.1 MB, free: 10.75 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.151/1.151, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006922/0.0006921, allocations: 93.98 kB / 0.7431 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003878/0.0003879, allocations: 16.92 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1539, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.4643/0.6183, allocations: 170.3 MB / 1.145 GB, free: 11.82 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01277/0.6311, allocations: 12.11 MB / 1.157 GB, free: 5.715 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008548/0.632, allocations: 27.41 kB / 1.157 GB, free: 5.703 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.6332, allocations: 297.2 kB / 1.157 GB, free: 5.457 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00206/0.6353, allocations: 0.8727 MB / 1.158 GB, free: 4.77 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.6366, allocations: 0.5265 MB / 1.159 GB, free: 4.398 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002407/0.639, allocations: 2.34 MB / 1.161 GB, free: 3.027 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001036/0.6401, allocations: 0.6977 MB / 1.162 GB, free: 2.613 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002976/0.6431, allocations: 1.363 MB / 1.163 GB, free: 1.762 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.6441, allocations: 0.6152 MB / 1.163 GB, free: 1.422 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.6443, allocations: 33.41 kB / 1.164 GB, free: 1.422 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001222/0.6455, allocations: 448.3 kB / 1.164 GB, free: 1.219 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003993/0.6459, allocations: 334.3 kB / 1.164 GB, free: 1.012 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003421/0.6463, allocations: 205.7 kB / 1.164 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.6474, allocations: 1.026 MB / 1.165 GB, free: 228 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.6474, allocations: 4 kB / 1.165 GB, free: 224 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6474, allocations: 0 / 1.165 GB, free: 224 kB / 0.698 GB Notification: Performance of Transformations before backend: time 4.076e-05/0.6475, allocations: 1.031 kB / 1.165 GB, free: 224 kB / 0.698 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.001769/0.6493, allocations: 1.041 MB / 1.166 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.6493, allocations: 13.84 kB / 1.167 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001861/0.6495, allocations: 130 kB / 1.167 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.6506, allocations: 213.5 kB / 1.167 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009873/0.6516, allocations: 0.6316 MB / 1.167 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.36e-05/0.6516, allocations: 64.41 kB / 1.168 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.6517, allocations: 83.31 kB / 1.168 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/0.6531, allocations: 0.9202 MB / 1.168 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.6531, allocations: 6.219 kB / 1.168 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.484e-05/0.6532, allocations: 32.62 kB / 1.169 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.791e-05/0.6532, allocations: 26.94 kB / 1.169 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009388/0.6542, allocations: 0.6106 MB / 1.169 GB, free: 13.6 MB / 0.7136 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.003741/0.6579, allocations: 4.588 MB / 1.174 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006381/0.6586, allocations: 0.5423 MB / 1.174 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003083/0.6589, allocations: 246.4 kB / 1.174 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001549/0.659, allocations: 101.3 kB / 1.174 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.6591, allocations: 41.47 kB / 1.175 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 1.884e-06/0.6591, allocations: 0 / 1.175 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of matching and sorting (n=45): time 0.002688/0.6618, allocations: 1.574 MB / 1.176 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.6618, allocations: 119.8 kB / 1.176 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007196/0.6626, allocations: 0.7021 MB / 1.177 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.34e-05/0.6626, allocations: 39.02 kB / 1.177 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002476/0.6629, allocations: 413 kB / 1.177 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.663, allocations: 161.4 kB / 1.177 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.15e-05/0.663, allocations: 10.44 kB / 1.177 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.6632, allocations: 386 kB / 1.178 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.6634, allocations: 185.9 kB / 1.178 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003801/0.6638, allocations: 426.4 kB / 1.178 GB, free: 5.762 MB / 0.7136 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.001912/0.6657, allocations: 1.153 MB / 1.18 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.6657, allocations: 2.938 kB / 1.18 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008555/0.6666, allocations: 0.6657 MB / 1.18 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.6666, allocations: 7.812 kB / 1.18 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.6666, allocations: 6.969 kB / 1.18 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.6667, allocations: 8.656 kB / 1.18 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004237/0.6671, allocations: 130.3 kB / 1.18 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/0.6671, allocations: 14.86 kB / 1.18 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005373/0.6677, allocations: 49.06 kB / 1.18 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-05/0.6677, allocations: 30.84 kB / 1.18 GB, free: 4.555 MB / 0.7136 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.0002963/0.668, allocations: 273.8 kB / 1.181 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.6681, allocations: 88.62 kB / 1.181 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001376/0.6683, allocations: 88.2 kB / 1.181 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.6683, allocations: 4.562 kB / 1.181 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.6683, allocations: 0 / 1.181 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005847/0.6689, allocations: 0.7003 MB / 1.182 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/0.6709, allocations: 1.634 MB / 1.183 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.6709, allocations: 2.906 kB / 1.183 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004043/0.6713, allocations: 107 kB / 1.183 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/0.6713, allocations: 8.062 kB / 1.183 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/0.6714, allocations: 14.41 kB / 1.183 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/0.6714, allocations: 16.05 kB / 1.183 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.6714, allocations: 7.219 kB / 1.183 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009168/0.6723, allocations: 0.8857 MB / 1.184 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002394/0.6726, allocations: 205.5 kB / 1.184 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.686e-05/0.6727, allocations: 16.11 kB / 1.184 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004407/0.6731, allocations: 46.55 kB / 1.184 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.782e-05/0.6732, allocations: 40.73 kB / 1.184 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/0.6732, allocations: 17.69 kB / 1.184 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005012/0.6737, allocations: 0.5011 MB / 1.185 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6737, allocations: 0 / 1.185 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005794/0.6743, allocations: 208.8 kB / 1.185 GB, free: 1.168 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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.001402/0.6757, allocations: 1.502 MB / 1.187 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006092/0.6764, allocations: 475.1 kB / 1.187 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.6764, allocations: 1.938 kB / 1.187 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002416/0.6766, allocations: 208.2 kB / 1.187 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002186/0.6788, allocations: 472.3 kB / 1.188 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006072/0.6849, allocations: 4.976 MB / 1.193 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004913/0.6854, allocations: 1.028 MB / 1.194 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000615/0.686, allocations: 195.6 kB / 1.194 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003491/0.6864, allocations: 299.4 kB / 1.194 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of SimCode: time 2.7e-07/0.6864, allocations: 0 / 1.194 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.181/1.867, allocations: 21.56 MB / 1.215 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002558/1.868, allocations: 268.2 kB / 1.215 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.413/4.281, allocations: 3.375 kB / 1.215 GB, free: 8.324 MB / 0.7448 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)