Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.000923/0.0009225, allocations: 91.38 kB / 15.36 MB, free: 0.7344 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.007479/0.007479, allocations: 169.4 kB / 16.26 MB, free: 6.68 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.473/1.473, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.83/2.83, allocations: 473.4 MB / 0.7469 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004549/0.0004549, allocations: 11.06 kB / 0.9158 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3737, allocations: 162.2 MB / 1.074 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.9143/1.288, allocations: 185.8 MB / 1.256 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009588/1.298, allocations: 5.713 MB / 1.261 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001351/1.299, allocations: 33.53 kB / 1.261 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001345/1.3, allocations: 0.4959 MB / 1.262 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004614/1.305, allocations: 1.727 MB / 1.263 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003041/1.308, allocations: 1.075 MB / 1.264 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005315/1.313, allocations: 4.091 MB / 1.268 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001422/1.315, allocations: 0.9291 MB / 1.269 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001812/1.317, allocations: 0.8601 MB / 1.27 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002236/1.319, allocations: 0.9559 MB / 1.271 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001497/1.319, allocations: 46.41 kB / 1.271 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003459/1.323, allocations: 1.629 MB / 1.273 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007067/1.323, allocations: 0.4894 MB / 1.273 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001241/1.325, allocations: 0.6521 MB / 1.274 GB, free: 21.79 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004623/1.329, allocations: 2.311 MB / 1.276 GB, free: 21.67 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/1.329, allocations: 7.812 kB / 1.276 GB, free: 21.67 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.953e-06/1.329, allocations: 0 / 1.276 GB, free: 21.67 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.704e-05/1.329, allocations: 0 / 1.276 GB, free: 21.67 MB / 1.014 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.002974/1.332, allocations: 1.369 MB / 1.277 GB, free: 20.88 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/1.332, allocations: 9.453 kB / 1.277 GB, free: 20.88 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002291/1.335, allocations: 330 kB / 1.278 GB, free: 20.8 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00179/1.336, allocations: 0.871 MB / 1.279 GB, free: 20.47 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.581e-05/1.337, allocations: 76.16 kB / 1.279 GB, free: 20.47 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/1.337, allocations: 102.3 kB / 1.279 GB, free: 20.47 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002602/1.339, allocations: 1.092 MB / 1.28 GB, free: 20.41 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.122e-05/1.339, allocations: 0.5 kB / 1.28 GB, free: 20.41 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/1.339, allocations: 42.53 kB / 1.28 GB, free: 20.41 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.645e-05/1.34, allocations: 38.61 kB / 1.28 GB, free: 20.41 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/1.342, allocations: 1.006 MB / 1.281 GB, free: 20.4 MB / 1.014 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.006772/1.348, allocations: 4.261 MB / 1.285 GB, free: 18.65 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009025/1.349, allocations: 0.6011 MB / 1.286 GB, free: 18.62 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005797/1.35, allocations: 347.6 kB / 1.286 GB, free: 18.61 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002179/1.35, allocations: 116.6 kB / 1.286 GB, free: 18.51 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/1.35, allocations: 39.53 kB / 1.286 GB, free: 18.46 MB / 1.014 GB Notification: Performance of pre-optimization done (n=53): time 2.625e-06/1.35, allocations: 0 / 1.286 GB, free: 18.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=55): time 0.004506/1.355, allocations: 2.232 MB / 1.288 GB, free: 17.66 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/1.355, allocations: 57.56 kB / 1.288 GB, free: 17.6 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/1.356, allocations: 0.8851 MB / 1.289 GB, free: 17.46 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.588e-05/1.356, allocations: 41.42 kB / 1.289 GB, free: 17.43 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003249/1.356, allocations: 0.5104 MB / 1.29 GB, free: 17.2 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/1.357, allocations: 194 kB / 1.29 GB, free: 17.08 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.314e-05/1.357, allocations: 61.09 kB / 1.29 GB, free: 17.06 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001197/1.357, allocations: 334 kB / 1.29 GB, free: 16.76 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004952/1.357, allocations: 290.6 kB / 1.291 GB, free: 16.75 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005742/1.358, allocations: 449 kB / 1.291 GB, free: 16.61 MB / 1.014 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.004039/1.362, allocations: 1.772 MB / 1.293 GB, free: 16.33 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/1.362, allocations: 1.281 kB / 1.293 GB, free: 16.33 MB / 1.014 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001685/1.364, allocations: 0.9354 MB / 1.294 GB, free: 16.21 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/1.364, allocations: 7.344 kB / 1.294 GB, free: 16.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/1.364, allocations: 5.156 kB / 1.294 GB, free: 16.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002268/1.364, allocations: 101.2 kB / 1.294 GB, free: 16.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007719/1.365, allocations: 172 kB / 1.294 GB, free: 16.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003331/1.368, allocations: 4.292 MB / 1.298 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/1.369, allocations: 75.12 kB / 1.298 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.647e-05/1.37, allocations: 31.06 kB / 1.298 GB, free: 12.4 MB / 1.014 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.0007852/1.37, allocations: 345 kB / 1.299 GB, free: 12.28 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/1.371, allocations: 112.2 kB / 1.299 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002559/1.371, allocations: 113 kB / 1.299 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/1.371, allocations: 5.188 kB / 1.299 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/1.371, allocations: 1.25 kB / 1.299 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001192/1.372, allocations: 0.776 MB / 1.3 GB, free: 11.92 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003483/1.376, allocations: 2 MB / 1.301 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/1.376, allocations: 3.438 kB / 1.301 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007029/1.376, allocations: 156.6 kB / 1.302 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.373e-05/1.376, allocations: 47.89 kB / 1.302 GB, free: 11.47 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.988e-05/1.376, allocations: 18.97 kB / 1.302 GB, free: 11.47 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/1.378, allocations: 1.478 MB / 1.303 GB, free: 10.22 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/1.378, allocations: 8.156 kB / 1.303 GB, free: 10.21 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/1.379, allocations: 1.222 MB / 1.304 GB, free: 9.898 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005479/1.38, allocations: 260.8 kB / 1.305 GB, free: 9.754 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002071/1.38, allocations: 14.97 kB / 1.305 GB, free: 9.754 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009869/1.381, allocations: 72.91 kB / 1.305 GB, free: 9.738 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/1.381, allocations: 57.17 kB / 1.305 GB, free: 9.727 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.95e-05/1.381, allocations: 31.08 kB / 1.305 GB, free: 9.727 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009459/1.382, allocations: 0.6137 MB / 1.305 GB, free: 9.637 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.6e-07/1.382, allocations: 0 / 1.305 GB, free: 9.637 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001345/1.384, allocations: 304.2 kB / 1.306 GB, free: 9.637 MB / 1.014 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.0005184/1.384, allocations: 197.5 kB / 1.306 GB, free: 9.527 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001722/1.386, allocations: 1.001 MB / 1.307 GB, free: 9.191 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/1.386, allocations: 5.469 kB / 1.307 GB, free: 9.188 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006591/1.387, allocations: 457.3 kB / 1.307 GB, free: 9.07 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003789/1.39, allocations: 0.6196 MB / 1.308 GB, free: 9.016 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003753/1.394, allocations: 2.62 MB / 1.31 GB, free: 7.648 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000884/1.395, allocations: 1.175 MB / 1.312 GB, free: 6.926 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001144/1.396, allocations: 245.7 kB / 1.312 GB, free: 6.871 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002579/1.396, allocations: 75.52 kB / 1.312 GB, free: 6.867 MB / 1.014 GB Notification: Performance of SimCode: time 7.61e-07/1.396, allocations: 0 / 1.312 GB, free: 6.867 MB / 1.014 GB Notification: Performance of Templates: time 0.03604/1.433, allocations: 21.18 MB / 1.333 GB, free: 1.301 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)