Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0008575/0.0008578, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001257/0.001258, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.641/1.641, allocations: 205.4 MB / 222.1 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.694/1.694, allocations: 252 MB / 0.5102 GB, free: 4.809 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005821/0.0005822, allocations: 16 kB / 0.6243 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5746/0.5752, allocations: 106.3 MB / 0.7281 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.8147/1.39, allocations: 201.8 MB / 0.9252 GB, free: 18.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01093/1.401, allocations: 5.476 MB / 0.9305 GB, free: 18.56 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00176/1.403, allocations: 31.06 kB / 0.9306 GB, free: 18.56 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001538/1.404, allocations: 411 kB / 0.931 GB, free: 18.56 MB / 0.7169 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.005705/1.41, allocations: 1.42 MB / 0.9323 GB, free: 18.49 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003417/1.413, allocations: 0.8672 MB / 0.9332 GB, free: 18.46 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005334/1.419, allocations: 3.668 MB / 0.9368 GB, free: 18.46 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001475/1.42, allocations: 0.855 MB / 0.9376 GB, free: 18.34 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002288/1.423, allocations: 0.9474 MB / 0.9385 GB, free: 18.34 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001796/1.424, allocations: 0.9383 MB / 0.9394 GB, free: 18.34 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002036/1.425, allocations: 50.19 kB / 0.9395 GB, free: 18.34 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00282/1.427, allocations: 0.7092 MB / 0.9402 GB, free: 18.32 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000773/1.428, allocations: 0.5115 MB / 0.9407 GB, free: 18.32 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009486/1.429, allocations: 290.3 kB / 0.941 GB, free: 18.29 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00368/1.433, allocations: 1.699 MB / 0.9426 GB, free: 18.17 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/1.433, allocations: 0 / 0.9426 GB, free: 18.17 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.106e-06/1.433, allocations: 3.25 kB / 0.9426 GB, free: 18.17 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.044e-05/1.433, allocations: 3.938 kB / 0.9426 GB, free: 18.16 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.003269/1.436, allocations: 1.404 MB / 0.944 GB, free: 17.36 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/1.436, allocations: 8.406 kB / 0.944 GB, free: 17.36 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00205/1.438, allocations: 338.9 kB / 0.9443 GB, free: 17.29 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/1.44, allocations: 0.8486 MB / 0.9452 GB, free: 16.98 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.715e-05/1.44, allocations: 77.11 kB / 0.9452 GB, free: 16.97 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/1.44, allocations: 98.62 kB / 0.9453 GB, free: 16.97 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001947/1.442, allocations: 1.111 MB / 0.9464 GB, free: 16.89 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.991e-05/1.442, allocations: 2.906 kB / 0.9464 GB, free: 16.89 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/1.442, allocations: 42 kB / 0.9465 GB, free: 16.89 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.712e-05/1.442, allocations: 47.7 kB / 0.9465 GB, free: 16.89 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001586/1.444, allocations: 1.001 MB / 0.9475 GB, free: 16.87 MB / 0.7169 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.005587/1.449, allocations: 4.288 MB / 0.9517 GB, free: 15.1 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008399/1.45, allocations: 0.5971 MB / 0.9523 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004622/1.451, allocations: 335.1 kB / 0.9526 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000177/1.451, allocations: 110.3 kB / 0.9527 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/1.451, allocations: 40.66 kB / 0.9527 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=53): time 2.434e-06/1.451, allocations: 2.906 kB / 0.9527 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=55): time 0.00414/1.455, allocations: 2.21 MB / 0.9549 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/1.455, allocations: 60 kB / 0.9549 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/1.456, allocations: 0.8955 MB / 0.9558 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.152e-05/1.457, allocations: 39.08 kB / 0.9558 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003439/1.457, allocations: 0.517 MB / 0.9563 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/1.457, allocations: 200.2 kB / 0.9565 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/1.457, allocations: 12.34 kB / 0.9566 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.185e-05/1.457, allocations: 333.7 kB / 0.9569 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004287/1.458, allocations: 282 kB / 0.9571 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005242/1.458, allocations: 458.8 kB / 0.9576 GB, free: 13.01 MB / 0.7169 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.002403/1.461, allocations: 1.039 MB / 0.9586 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/1.461, allocations: 2.969 kB / 0.9586 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001524/1.462, allocations: 0.9177 MB / 0.9595 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/1.462, allocations: 8.594 kB / 0.9595 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/1.462, allocations: 10.92 kB / 0.9595 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000189/1.462, allocations: 96.95 kB / 0.9596 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006762/1.463, allocations: 180.6 kB / 0.9598 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002783/1.466, allocations: 4.277 MB / 0.9639 GB, free: 8.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/1.467, allocations: 81.73 kB / 0.964 GB, free: 8.945 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.088e-05/1.467, allocations: 28.53 kB / 0.9641 GB, free: 8.945 MB / 0.7169 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: 19 * 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.0008377/1.468, allocations: 349 kB / 0.9644 GB, free: 8.828 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/1.468, allocations: 104 kB / 0.9645 GB, free: 8.781 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000197/1.468, allocations: 110.7 kB / 0.9646 GB, free: 8.77 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/1.468, allocations: 9.062 kB / 0.9646 GB, free: 8.766 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/1.468, allocations: 0 / 0.9646 GB, free: 8.766 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009458/1.469, allocations: 0.7735 MB / 0.9654 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003089/1.472, allocations: 2.004 MB / 0.9673 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/1.472, allocations: 5.812 kB / 0.9673 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006439/1.473, allocations: 163.9 kB / 0.9675 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001113/1.473, allocations: 41.44 kB / 0.9675 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.957e-05/1.473, allocations: 18.84 kB / 0.9675 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009241/1.474, allocations: 1.481 MB / 0.969 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.474, allocations: 5.188 kB / 0.969 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001799/1.476, allocations: 1.246 MB / 0.9702 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000555/1.477, allocations: 272 kB / 0.9705 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/1.477, allocations: 14.39 kB / 0.9705 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008137/1.478, allocations: 91.39 kB / 0.9706 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/1.478, allocations: 48.67 kB / 0.9706 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.947e-05/1.478, allocations: 31.8 kB / 0.9706 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000766/1.478, allocations: 0.621 MB / 0.9712 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/1.479, allocations: 1.969 kB / 0.9712 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001021/1.48, allocations: 315.6 kB / 0.9715 GB, free: 6.168 MB / 0.7169 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.0004572/1.48, allocations: 188.9 kB / 0.9717 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001502/1.482, allocations: 0.9906 MB / 0.9727 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/1.482, allocations: 2.562 kB / 0.9727 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005902/1.482, allocations: 454.7 kB / 0.9731 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002758/1.485, allocations: 0.6269 MB / 0.9737 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003285/1.488, allocations: 2.553 MB / 0.9762 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005721/1.489, allocations: 1.179 MB / 0.9774 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001114/1.49, allocations: 252.4 kB / 0.9776 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/1.49, allocations: 75.59 kB / 0.9777 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of SimCode: time 9.32e-07/1.49, allocations: 0 / 0.9777 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of Templates: time 0.03574/1.526, allocations: 21.24 MB / 0.9984 GB, free: 7.652 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) Environment - environmentSimulation: