Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.766/2.766, allocations: 287.5 MB / 302.4 MB, free: 8.375 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.001325/0.001325, allocations: 179.1 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.192/2.192, allocations: 205.4 MB / 0.6297 GB, free: 10.57 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.0008701/0.0008699, allocations: 97.38 kB / 0.743 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005054/0.0005057, allocations: 11.88 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2242, allocations: 115.3 MB / 0.9783 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.9848/1.209, allocations: 173.3 MB / 1.148 GB, free: 10.72 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01898/1.228, allocations: 5.327 MB / 1.153 GB, free: 8.707 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003009/1.231, allocations: 32.59 kB / 1.153 GB, free: 8.691 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00331/1.235, allocations: 393.7 kB / 1.153 GB, free: 8.48 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.006832/1.242, allocations: 1.362 MB / 1.154 GB, free: 7.609 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004575/1.246, allocations: 0.8372 MB / 1.155 GB, free: 7.02 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.007084/1.253, allocations: 3.414 MB / 1.159 GB, free: 5.027 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00229/1.256, allocations: 0.7994 MB / 1.159 GB, free: 4.57 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003299/1.259, allocations: 0.878 MB / 1.16 GB, free: 4.117 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003005/1.262, allocations: 0.9073 MB / 1.161 GB, free: 3.629 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004789/1.262, allocations: 46.34 kB / 1.161 GB, free: 3.629 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004277/1.267, allocations: 0.7131 MB / 1.162 GB, free: 3.285 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001301/1.268, allocations: 496 kB / 1.162 GB, free: 2.984 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0009318/1.269, allocations: 278.6 kB / 1.163 GB, free: 2.84 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004331/1.273, allocations: 1.625 MB / 1.164 GB, free: 1.777 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/1.273, allocations: 0 / 1.164 GB, free: 1.777 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.858e-06/1.273, allocations: 0 / 1.164 GB, free: 1.777 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.932e-05/1.274, allocations: 0 / 1.164 GB, free: 1.777 MB / 0.698 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.004726/1.278, allocations: 1.376 MB / 1.166 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/1.278, allocations: 9.656 kB / 1.166 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00342/1.282, allocations: 331.2 kB / 1.166 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002792/1.285, allocations: 0.8303 MB / 1.167 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/1.285, allocations: 74.78 kB / 1.167 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003896/1.285, allocations: 100.8 kB / 1.167 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003566/1.289, allocations: 1.085 MB / 1.168 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.639e-05/1.289, allocations: 5.016 kB / 1.168 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002232/1.289, allocations: 41.84 kB / 1.168 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.164e-05/1.289, allocations: 41.08 kB / 1.168 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003349/1.293, allocations: 0.9944 MB / 1.169 GB, free: 14.76 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.01309/1.306, allocations: 4.258 MB / 1.173 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/1.307, allocations: 0.5951 MB / 1.174 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/1.308, allocations: 348.5 kB / 1.174 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002885/1.309, allocations: 101.5 kB / 1.174 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.191e-05/1.309, allocations: 49.25 kB / 1.174 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=53): time 3.577e-06/1.309, allocations: 0 / 1.174 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=55): time 0.007257/1.316, allocations: 2.213 MB / 1.176 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/1.316, allocations: 57.81 kB / 1.176 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001765/1.318, allocations: 0.8709 MB / 1.177 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001985/1.318, allocations: 42.77 kB / 1.177 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005779/1.319, allocations: 0.5019 MB / 1.178 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000327/1.319, allocations: 209 kB / 1.178 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.738e-05/1.319, allocations: 10.88 kB / 1.178 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000171/1.319, allocations: 331.1 kB / 1.178 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008523/1.32, allocations: 283.6 kB / 1.179 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/1.321, allocations: 447 kB / 1.179 GB, free: 7.234 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005264/1.327, allocations: 1.108 MB / 1.18 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/1.327, allocations: 2.812 kB / 1.18 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00274/1.329, allocations: 0.927 MB / 1.181 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.44e-05/1.33, allocations: 6.156 kB / 1.181 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/1.33, allocations: 8.531 kB / 1.181 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003231/1.33, allocations: 94.05 kB / 1.181 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/1.331, allocations: 178 kB / 1.181 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005123/1.336, allocations: 4.283 MB / 1.185 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001993/1.338, allocations: 66.19 kB / 1.186 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.324e-05/1.339, allocations: 26.03 kB / 1.186 GB, free: 1.754 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0009126/1.34, allocations: 354.5 kB / 1.186 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002907/1.34, allocations: 107 kB / 1.186 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000283/1.34, allocations: 106.7 kB / 1.186 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/1.34, allocations: 5.812 kB / 1.186 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/1.34, allocations: 0 / 1.186 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001828/1.342, allocations: 0.7727 MB / 1.187 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005569/1.348, allocations: 1.993 MB / 1.189 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/1.348, allocations: 4.969 kB / 1.189 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/1.349, allocations: 154.5 kB / 1.189 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001591/1.349, allocations: 42.61 kB / 1.189 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.51e-05/1.349, allocations: 15.97 kB / 1.189 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001853/1.351, allocations: 1.493 MB / 1.19 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/1.351, allocations: 6.812 kB / 1.19 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003186/1.354, allocations: 1.248 MB / 1.192 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009423/1.355, allocations: 247.4 kB / 1.192 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002188/1.356, allocations: 17.83 kB / 1.192 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001534/1.357, allocations: 79.75 kB / 1.192 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/1.357, allocations: 49.59 kB / 1.192 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/1.357, allocations: 27.48 kB / 1.192 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001288/1.359, allocations: 0.6021 MB / 1.193 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.21e-07/1.359, allocations: 0 / 1.193 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001783/1.361, allocations: 307.5 kB / 1.193 GB, free: 12.51 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007441/1.361, allocations: 191.5 kB / 1.193 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002553/1.364, allocations: 1.009 MB / 1.194 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/1.364, allocations: 6.531 kB / 1.194 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00111/1.365, allocations: 452.9 kB / 1.195 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005615/1.371, allocations: 0.6284 MB / 1.195 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005639/1.376, allocations: 2.487 MB / 1.198 GB, free: 9.395 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/1.378, allocations: 1.169 MB / 1.199 GB, free: 8.473 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001746/1.379, allocations: 248.1 kB / 1.199 GB, free: 8.363 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003595/1.38, allocations: 73.31 kB / 1.199 GB, free: 8.355 MB / 0.7292 GB Notification: Performance of SimCode: time 1.062e-06/1.38, allocations: 0 / 1.199 GB, free: 8.355 MB / 0.7292 GB Notification: Performance of Templates: time 0.05903/1.439, allocations: 20.6 MB / 1.219 GB, free: 4.062 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)