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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 117.5 kB / 16.42 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 188.9 kB / 17.35 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.535/2.535, allocations: 461.7 MB / 0.7352 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 67.91 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6743/0.6755, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2117/0.8873, allocations: 190.5 MB / 1.394 GB, free: 14.46 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.008841/0.8962, allocations: 5.72 MB / 1.4 GB, free: 8.73 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001237/0.8974, allocations: 43.75 kB / 1.4 GB, free: 8.688 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001561/0.8991, allocations: 0.5591 MB / 1.4 GB, free: 8.125 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004265/0.9034, allocations: 1.832 MB / 1.402 GB, free: 6.285 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002868/0.9062, allocations: 1.185 MB / 1.403 GB, free: 5.109 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003452/0.9097, allocations: 2.969 MB / 1.406 GB, free: 2.129 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001565/0.9113, allocations: 1.114 MB / 1.407 GB, free: 0.9922 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001792/0.9131, allocations: 1.055 MB / 1.408 GB, free: 15.93 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001982/0.9151, allocations: 0.9698 MB / 1.409 GB, free: 14.96 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003075/0.9154, allocations: 120 kB / 1.409 GB, free: 14.85 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002817/0.9182, allocations: 1.446 MB / 1.411 GB, free: 13.4 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0006653/0.9189, allocations: 0.565 MB / 1.411 GB, free: 12.83 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001132/0.92, allocations: 0.7234 MB / 1.412 GB, free: 12.11 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003263/0.9233, allocations: 2.337 MB / 1.414 GB, free: 9.762 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.9233, allocations: 0 / 1.414 GB, free: 9.762 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.302e-06/0.9233, allocations: 0 / 1.414 GB, free: 9.762 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.464e-05/0.9234, allocations: 0 / 1.414 GB, free: 9.762 MB / 1.139 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.00288/0.9263, allocations: 1.616 MB / 1.416 GB, free: 8.094 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.9263, allocations: 12.03 kB / 1.416 GB, free: 8.082 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002011/0.9283, allocations: 326.2 kB / 1.416 GB, free: 7.762 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/0.9298, allocations: 0.9136 MB / 1.417 GB, free: 6.805 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.08e-05/0.9299, allocations: 73.98 kB / 1.417 GB, free: 6.73 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.93, allocations: 100 kB / 1.417 GB, free: 6.633 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00184/0.9319, allocations: 1.089 MB / 1.418 GB, free: 5.539 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.9319, allocations: 0 / 1.418 GB, free: 5.539 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.525e-05/0.932, allocations: 44 kB / 1.418 GB, free: 5.496 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-05/0.9321, allocations: 41.92 kB / 1.418 GB, free: 5.457 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/0.9337, allocations: 0.9915 MB / 1.419 GB, free: 4.461 MB / 1.139 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.005779/0.9395, allocations: 4.212 MB / 1.424 GB, free: 15.95 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008653/0.9404, allocations: 0.5986 MB / 1.424 GB, free: 15.35 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004845/0.9409, allocations: 342.5 kB / 1.424 GB, free: 15.01 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001818/0.9411, allocations: 109.5 kB / 1.425 GB, free: 14.89 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.9411, allocations: 46.94 kB / 1.425 GB, free: 14.83 MB / 1.154 GB Notification: Performance of pre-optimization done (n=53): time 2.094e-06/0.9411, allocations: 0 / 1.425 GB, free: 14.83 MB / 1.154 GB Notification: Performance of matching and sorting (n=55): time 0.003776/0.9449, allocations: 2.197 MB / 1.427 GB, free: 12.52 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.9449, allocations: 55.97 kB / 1.427 GB, free: 12.45 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009672/0.9459, allocations: 0.8842 MB / 1.428 GB, free: 11.56 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.477e-05/0.946, allocations: 41.7 kB / 1.428 GB, free: 11.52 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003415/0.9463, allocations: 0.5184 MB / 1.428 GB, free: 10.99 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001582/0.9465, allocations: 193.2 kB / 1.428 GB, free: 10.8 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/0.9467, allocations: 130.6 kB / 1.429 GB, free: 10.66 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.9468, allocations: 334 kB / 1.429 GB, free: 10.33 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004639/0.9473, allocations: 285.8 kB / 1.429 GB, free: 10.05 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000576/0.9479, allocations: 436.9 kB / 1.43 GB, free: 9.57 MB / 1.154 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.003735/0.9516, allocations: 1.741 MB / 1.431 GB, free: 7.758 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.9516, allocations: 0 / 1.431 GB, free: 7.758 MB / 1.154 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001436/0.9531, allocations: 0.9334 MB / 1.432 GB, free: 6.805 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.9531, allocations: 8 kB / 1.432 GB, free: 6.797 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.098e-06/0.9531, allocations: 4 kB / 1.432 GB, free: 6.793 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002033/0.9533, allocations: 98.95 kB / 1.432 GB, free: 6.688 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000696/0.954, allocations: 159.8 kB / 1.432 GB, free: 6.531 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003399/0.9574, allocations: 4.636 MB / 1.437 GB, free: 1.477 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007818/0.9582, allocations: 31.97 kB / 1.437 GB, free: 1.445 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.58e-05/0.9583, allocations: 31.97 kB / 1.437 GB, free: 1.414 MB / 1.154 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.0004954/0.9588, allocations: 345.5 kB / 1.437 GB, free: 1.066 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.959, allocations: 106.8 kB / 1.437 GB, free: 0.9609 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000178/0.9592, allocations: 113.2 kB / 1.438 GB, free: 0.8516 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001095/0.9603, allocations: 0.7575 MB / 1.438 GB, free: 48 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.9603, allocations: 0 / 1.438 GB, free: 48 kB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003927/0.9607, allocations: 247.9 kB / 1.439 GB, free: 15.79 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.9608, allocations: 15.94 kB / 1.439 GB, free: 15.77 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000662/0.9615, allocations: 28.86 kB / 1.439 GB, free: 15.74 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.458e-05/0.9616, allocations: 36.52 kB / 1.439 GB, free: 15.71 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00162/0.9632, allocations: 0.8118 MB / 1.439 GB, free: 14.88 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001608/0.9648, allocations: 1.208 MB / 1.441 GB, free: 13.66 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004382/0.9653, allocations: 299 kB / 1.441 GB, free: 13.37 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007383/0.966, allocations: 0.6239 MB / 1.441 GB, free: 12.75 MB / 1.17 GB Notification: Performance of Backend: time 7.91e-07/0.966, allocations: 0 / 1.441 GB, free: 12.75 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002433/0.9685, allocations: 1.158 MB / 1.443 GB, free: 11.55 MB / 1.17 GB Notification: Performance of SimCode: time 0.004527/0.973, allocations: 2.809 MB / 1.445 GB, free: 8.695 MB / 1.17 GB Notification: Performance of Templates: time 0.0378/1.011, allocations: 24.89 MB / 1.47 GB, free: 104 kB / 1.186 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 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)