Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.215/2.215, allocations: 391.2 MB / 407 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 197.1 kB / 499.1 MB, free: 4.68 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 0.7948 GB, free: 15.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 108.6 kB / 0.9329 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 53.88 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.265, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1658/0.4308, allocations: 188.2 MB / 1.402 GB, free: 8.391 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.009298/0.4402, allocations: 5.781 MB / 1.408 GB, free: 2.602 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001467/0.4417, allocations: 35.81 kB / 1.408 GB, free: 2.566 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.001507/0.4432, allocations: 0.4896 MB / 1.408 GB, free: 2.074 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.004234/0.4475, allocations: 1.727 MB / 1.41 GB, free: 348 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002838/0.4503, allocations: 1.073 MB / 1.411 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.004432/0.4548, allocations: 4.11 MB / 1.415 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001323/0.4561, allocations: 0.958 MB / 1.416 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001857/0.458, allocations: 0.9062 MB / 1.417 GB, free: 9.262 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002772/0.4608, allocations: 1.005 MB / 1.418 GB, free: 8.258 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0002035/0.461, allocations: 60 kB / 1.418 GB, free: 8.199 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003235/0.4642, allocations: 1.633 MB / 1.419 GB, free: 6.562 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0006288/0.4649, allocations: 0.5142 MB / 1.42 GB, free: 6.047 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0008925/0.4658, allocations: 0.6609 MB / 1.42 GB, free: 5.383 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.003005/0.4688, allocations: 2.353 MB / 1.423 GB, free: 3.023 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4688, allocations: 0 / 1.423 GB, free: 3.023 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.575e-06/0.4688, allocations: 0 / 1.423 GB, free: 3.023 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.505e-05/0.4689, allocations: 7.938 kB / 1.423 GB, free: 3.016 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002519/0.4714, allocations: 1.62 MB / 1.424 GB, free: 1.34 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.4714, allocations: 11.98 kB / 1.424 GB, free: 1.328 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001825/0.4733, allocations: 334.2 kB / 1.425 GB, free: 1 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.4747, allocations: 0.8668 MB / 1.425 GB, free: 92 kB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.315e-05/0.4748, allocations: 74 kB / 1.426 GB, free: 20 kB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.4794/0.9542, allocations: 95.55 kB / 1.426 GB, free: 207.9 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002273/0.9565, allocations: 1.092 MB / 1.427 GB, free: 207.8 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.9565, allocations: 0.5156 kB / 1.427 GB, free: 207.8 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-05/0.9566, allocations: 42.5 kB / 1.427 GB, free: 207.8 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.906e-05/0.9567, allocations: 40.2 kB / 1.427 GB, free: 207.8 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001677/0.9584, allocations: 0.9907 MB / 1.428 GB, free: 207.5 MB / 0.9167 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.006195/0.9646, allocations: 4.246 MB / 1.432 GB, free: 205 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008522/0.9655, allocations: 0.6038 MB / 1.432 GB, free: 204.7 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005242/0.966, allocations: 341.3 kB / 1.433 GB, free: 204.6 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000179/0.9662, allocations: 103.2 kB / 1.433 GB, free: 204.5 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.9662, allocations: 44.33 kB / 1.433 GB, free: 204.5 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=53): time 2.394e-06/0.9662, allocations: 0 / 1.433 GB, free: 204.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=55): time 0.004333/0.9706, allocations: 2.202 MB / 1.435 GB, free: 203.2 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.9706, allocations: 60.84 kB / 1.435 GB, free: 203.1 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/0.9722, allocations: 0.887 MB / 1.436 GB, free: 202.8 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.9724, allocations: 38.27 kB / 1.436 GB, free: 202.7 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004403/0.9728, allocations: 0.5137 MB / 1.437 GB, free: 202.3 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002344/0.973, allocations: 199 kB / 1.437 GB, free: 202.2 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003299/0.9734, allocations: 133.2 kB / 1.437 GB, free: 202.1 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.9735, allocations: 334.5 kB / 1.437 GB, free: 201.8 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007469/0.9743, allocations: 283.2 kB / 1.437 GB, free: 201.7 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007674/0.9751, allocations: 436.3 kB / 1.438 GB, free: 201.4 MB / 0.9167 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004422/0.9795, allocations: 1.735 MB / 1.44 GB, free: 200.7 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.9795, allocations: 1.062 kB / 1.44 GB, free: 200.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001724/0.9813, allocations: 0.9321 MB / 1.44 GB, free: 200.3 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.9813, allocations: 5.656 kB / 1.44 GB, free: 200.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.9813, allocations: 8.625 kB / 1.441 GB, free: 200.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002138/0.9815, allocations: 98.81 kB / 1.441 GB, free: 200.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007132/0.9823, allocations: 161.2 kB / 1.441 GB, free: 200.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002482/0.9847, allocations: 4.292 MB / 1.445 GB, free: 196.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.9858, allocations: 65.81 kB / 1.445 GB, free: 196.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.425e-05/0.9859, allocations: 32.33 kB / 1.445 GB, free: 196.2 MB / 0.9167 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004975/0.9864, allocations: 343.8 kB / 1.445 GB, free: 196 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.9865, allocations: 105.7 kB / 1.445 GB, free: 195.9 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001926/0.9867, allocations: 111.7 kB / 1.446 GB, free: 195.9 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.9868, allocations: 6.297 kB / 1.446 GB, free: 195.9 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-06/0.9868, allocations: 1.219 kB / 1.446 GB, free: 195.9 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009913/0.9878, allocations: 0.7635 MB / 1.446 GB, free: 195.4 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003245/0.991, allocations: 1.985 MB / 1.448 GB, free: 194.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.9911, allocations: 3.781 kB / 1.448 GB, free: 194.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006925/0.9918, allocations: 149.5 kB / 1.448 GB, free: 194.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001013/0.9919, allocations: 41.31 kB / 1.448 GB, free: 194.4 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-05/0.9919, allocations: 17.91 kB / 1.448 GB, free: 194.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009275/0.9928, allocations: 1.485 MB / 1.45 GB, free: 193 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.9929, allocations: 7.656 kB / 1.45 GB, free: 193 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00646/0.9993, allocations: 4.489 MB / 1.454 GB, free: 190.5 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004714/0.9998, allocations: 250.6 kB / 1.455 GB, free: 190.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/1, allocations: 19.19 kB / 1.455 GB, free: 190.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007956/1.001, allocations: 71.33 kB / 1.455 GB, free: 190.3 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/1.001, allocations: 54.75 kB / 1.455 GB, free: 190.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.636e-05/1.001, allocations: 32.02 kB / 1.455 GB, free: 190.3 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0007119/1.002, allocations: 0.6156 MB / 1.455 GB, free: 190 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4.01e-07/1.002, allocations: 2.625 kB / 1.455 GB, free: 190 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001683/1.003, allocations: 427.1 kB / 1.456 GB, free: 190 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004626/1.004, allocations: 193 kB / 1.456 GB, free: 189.9 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001802/1.006, allocations: 1 MB / 1.457 GB, free: 189.4 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/1.006, allocations: 2.312 kB / 1.457 GB, free: 189.4 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006957/1.006, allocations: 450.9 kB / 1.457 GB, free: 189.1 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002733/1.009, allocations: 0.6227 MB / 1.458 GB, free: 188.9 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00298/1.012, allocations: 2.896 MB / 1.461 GB, free: 186.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005302/1.013, allocations: 1.192 MB / 1.462 GB, free: 185.9 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0008821/1.014, allocations: 264.4 kB / 1.462 GB, free: 185.8 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002037/1.014, allocations: 75.3 kB / 1.462 GB, free: 185.8 MB / 0.9167 GB Notification: Performance of SimCode: time 8.92e-07/1.014, allocations: 0.5938 kB / 1.462 GB, free: 185.8 MB / 0.9167 GB Notification: Performance of Templates: time 0.02931/1.043, allocations: 22.42 MB / 1.484 GB, free: 164.1 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)