Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.846/1.846, allocations: 292.3 MB / 308.1 MB, free: 4.301 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.001505/0.001505, allocations: 190.3 kB / 376.9 MB, free: 1.805 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.726/1.726, allocations: 205 MB / 0.6354 GB, free: 9.789 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.000984/0.000984, allocations: 109.1 kB / 0.748 GB, free: 61.03 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001082, allocations: 51.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2834, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.6657/0.9491, allocations: 188.2 MB / 1.166 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.008585/0.9578, allocations: 5.725 MB / 1.172 GB, free: 9.402 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001459/0.9593, allocations: 29.16 kB / 1.172 GB, free: 9.391 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001515/0.9608, allocations: 0.4927 MB / 1.172 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.005384/0.9662, allocations: 1.724 MB / 1.174 GB, free: 8.191 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.003433/0.9697, allocations: 1.059 MB / 1.175 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.005033/0.9747, allocations: 4.077 MB / 1.179 GB, free: 6.219 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001581/0.9763, allocations: 0.9714 MB / 1.18 GB, free: 5.828 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001994/0.9783, allocations: 0.9016 MB / 1.181 GB, free: 5.469 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002849/0.9812, allocations: 0.9935 MB / 1.182 GB, free: 5.105 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0002941/0.9815, allocations: 61.75 kB / 1.182 GB, free: 5.105 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003288/0.9848, allocations: 1.646 MB / 1.183 GB, free: 4.492 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0006069/0.9854, allocations: 0.5108 MB / 1.184 GB, free: 4.328 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0009241/0.9864, allocations: 0.6515 MB / 1.184 GB, free: 3.98 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.003259/0.9896, allocations: 2.351 MB / 1.187 GB, free: 3.176 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.9897, allocations: 2.906 kB / 1.187 GB, free: 3.176 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.113e-06/0.9897, allocations: 0 / 1.187 GB, free: 3.176 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.08e-05/0.9897, allocations: 0 / 1.187 GB, free: 3.176 MB / 0.7761 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.002646/0.9923, allocations: 1.62 MB / 1.188 GB, free: 2.141 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.9924, allocations: 9 kB / 1.188 GB, free: 2.141 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001887/0.9943, allocations: 327.1 kB / 1.189 GB, free: 2.055 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/0.9957, allocations: 0.8575 MB / 1.189 GB, free: 1.523 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.654e-05/0.9958, allocations: 75.44 kB / 1.19 GB, free: 1.492 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.9959, allocations: 98.88 kB / 1.19 GB, free: 1.461 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.9976, allocations: 1.087 MB / 1.191 GB, free: 1.062 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/0.9976, allocations: 3.906 kB / 1.191 GB, free: 1.059 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.27e-05/0.9977, allocations: 45.5 kB / 1.191 GB, free: 1.023 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.226e-05/0.9978, allocations: 35.5 kB / 1.191 GB, free: 1.02 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/0.9993, allocations: 0.9939 MB / 1.192 GB, free: 0.7109 MB / 0.7761 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.006205/1.005, allocations: 4.239 MB / 1.196 GB, free: 14.02 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000882/1.006, allocations: 0.5944 MB / 1.196 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005087/1.007, allocations: 341.7 kB / 1.197 GB, free: 13.65 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001885/1.007, allocations: 98.28 kB / 1.197 GB, free: 13.56 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/1.007, allocations: 44.12 kB / 1.197 GB, free: 13.51 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=53): time 2.344e-06/1.007, allocations: 3.938 kB / 1.197 GB, free: 13.51 MB / 0.7917 GB Notification: Performance of matching and sorting (n=55): time 0.004165/1.011, allocations: 2.196 MB / 1.199 GB, free: 12.23 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/1.011, allocations: 61.88 kB / 1.199 GB, free: 12.16 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/1.013, allocations: 0.8743 MB / 1.2 GB, free: 11.81 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 8.444e-05/1.013, allocations: 39.08 kB / 1.2 GB, free: 11.77 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004286/1.013, allocations: 0.5162 MB / 1.2 GB, free: 11.36 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/1.013, allocations: 203.7 kB / 1.201 GB, free: 11.2 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002144/1.014, allocations: 129.5 kB / 1.201 GB, free: 11.13 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.014, allocations: 331.4 kB / 1.201 GB, free: 10.82 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005015/1.014, allocations: 284.8 kB / 1.201 GB, free: 10.73 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006018/1.015, allocations: 449.1 kB / 1.202 GB, free: 10.46 MB / 0.7917 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.003845/1.019, allocations: 1.73 MB / 1.204 GB, free: 9.707 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/1.019, allocations: 1.531 kB / 1.204 GB, free: 9.707 MB / 0.7917 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00168/1.02, allocations: 0.9231 MB / 1.204 GB, free: 9.32 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/1.02, allocations: 9.844 kB / 1.204 GB, free: 9.316 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/1.021, allocations: 4.656 kB / 1.204 GB, free: 9.316 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002646/1.021, allocations: 104.2 kB / 1.205 GB, free: 9.266 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007709/1.022, allocations: 163.1 kB / 1.205 GB, free: 9.25 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003576/1.025, allocations: 4.283 MB / 1.209 GB, free: 5.191 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/1.026, allocations: 75.41 kB / 1.209 GB, free: 5.16 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.666e-05/1.026, allocations: 28 kB / 1.209 GB, free: 5.156 MB / 0.7917 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.0006225/1.027, allocations: 339.7 kB / 1.209 GB, free: 4.945 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002138/1.027, allocations: 98.53 kB / 1.209 GB, free: 4.898 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/1.028, allocations: 110.7 kB / 1.209 GB, free: 4.824 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/1.028, allocations: 5.781 kB / 1.21 GB, free: 4.824 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/1.028, allocations: 3.938 kB / 1.21 GB, free: 4.82 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001117/1.029, allocations: 0.7675 MB / 1.21 GB, free: 4.367 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003446/1.032, allocations: 1.986 MB / 1.212 GB, free: 3.383 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/1.032, allocations: 3.625 kB / 1.212 GB, free: 3.383 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006572/1.033, allocations: 149.9 kB / 1.212 GB, free: 3.371 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001333/1.033, allocations: 41.55 kB / 1.212 GB, free: 3.355 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.581e-05/1.033, allocations: 15.62 kB / 1.212 GB, free: 3.348 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001214/1.034, allocations: 1.493 MB / 1.214 GB, free: 1.973 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/1.034, allocations: 6.969 kB / 1.214 GB, free: 1.969 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007866/1.042, allocations: 4.558 MB / 1.218 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005669/1.043, allocations: 249.1 kB / 1.219 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/1.043, allocations: 16.19 kB / 1.219 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008055/1.044, allocations: 63.89 kB / 1.219 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/1.044, allocations: 55.73 kB / 1.219 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-05/1.044, allocations: 30.64 kB / 1.219 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0009386/1.045, allocations: 0.6057 MB / 1.219 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.2e-07/1.045, allocations: 1.5 kB / 1.219 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001576/1.046, allocations: 428.5 kB / 1.22 GB, free: 14.89 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],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.000495/1.047, allocations: 195.4 kB / 1.22 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001824/1.049, allocations: 0.9996 MB / 1.221 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.84e-06/1.049, allocations: 1.344 kB / 1.221 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0007201/1.05, allocations: 454.5 kB / 1.221 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003042/1.053, allocations: 0.6189 MB / 1.222 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004063/1.057, allocations: 2.869 MB / 1.225 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008921/1.058, allocations: 1.192 MB / 1.226 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001212/1.059, allocations: 259.4 kB / 1.226 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/1.059, allocations: 79.64 kB / 1.226 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of SimCode: time 5.81e-07/1.059, allocations: 0 / 1.226 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of Templates: time 0.04047/1.1, allocations: 22.48 MB / 1.248 GB, free: 2.129 MB / 0.8073 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)