Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.466/2.466, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00137/0.00137, allocations: 177 kB / 325.8 MB, free: 2.789 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.521/2.521, allocations: 205.4 MB / 0.5767 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009701/0.0009696, allocations: 90.91 kB / 0.6812 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004494/0.0004497, allocations: 18.41 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2137, allocations: 106.3 MB / 0.899 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.0486/0.2624, allocations: 41.16 MB / 0.9392 GB, free: 24.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01951/0.2819, allocations: 12.16 MB / 0.9511 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001847/0.2838, allocations: 31.81 kB / 0.9511 GB, free: 11.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001878/0.2857, allocations: 413.3 kB / 0.9515 GB, free: 11.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.006755/0.2925, allocations: 1.542 MB / 0.953 GB, free: 9.969 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.005391/0.2979, allocations: 0.929 MB / 0.954 GB, free: 9.043 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.007266/0.3052, allocations: 3.629 MB / 0.9575 GB, free: 5.406 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002293/0.3076, allocations: 0.7774 MB / 0.9583 GB, free: 4.621 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004197/0.3118, allocations: 1.054 MB / 0.9593 GB, free: 3.562 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002789/0.3147, allocations: 0.8283 MB / 0.9601 GB, free: 2.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0004707/0.3152, allocations: 48 kB / 0.9601 GB, free: 2.684 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005205/0.3204, allocations: 1.111 MB / 0.9612 GB, free: 1.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0005673/0.321, allocations: 203 kB / 0.9614 GB, free: 1.371 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0007187/0.3218, allocations: 273.1 kB / 0.9617 GB, free: 1.098 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.005121/0.3269, allocations: 1.715 MB / 0.9634 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.327, allocations: 4 kB / 0.9634 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.156e-06/0.327, allocations: 0 / 0.9634 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.319e-05/0.3271, allocations: 0 / 0.9634 GB, free: 15.38 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.006546/0.3336, allocations: 1.432 MB / 0.9648 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/0.3337, allocations: 12.03 kB / 0.9648 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007275/0.3345, allocations: 131.4 kB / 0.9649 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005899/0.3404, allocations: 1.159 MB / 0.966 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-05/0.3405, allocations: 53.3 kB / 0.9661 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002599/0.3408, allocations: 68 kB / 0.9661 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003019/0.3439, allocations: 0.759 MB / 0.9669 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.213e-05/0.344, allocations: 4 kB / 0.9669 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001485/0.3441, allocations: 24 kB / 0.9669 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.097e-05/0.3442, allocations: 16 kB / 0.9669 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002464/0.3467, allocations: 0.532 MB / 0.9674 GB, free: 11.06 MB / 0.6198 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.01202/0.3587, allocations: 4.519 MB / 0.9719 GB, free: 6.129 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/0.3604, allocations: 358.7 kB / 0.9722 GB, free: 5.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008723/0.3613, allocations: 220.8 kB / 0.9724 GB, free: 5.551 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002867/0.3642, allocations: 1.515 MB / 0.9739 GB, free: 3.703 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.612e-05/0.3643, allocations: 38.56 kB / 0.9739 GB, free: 3.656 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=43): time 5.219e-06/0.3644, allocations: 3.938 kB / 0.9739 GB, free: 3.652 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43): time 0.00565/0.37, allocations: 0.8825 MB / 0.9748 GB, free: 2.742 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.505e-05/0.3702, allocations: 59.19 kB / 0.9748 GB, free: 2.672 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003394/0.3736, allocations: 0.8754 MB / 0.9757 GB, free: 1.773 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001801/0.3738, allocations: 37.7 kB / 0.9757 GB, free: 1.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009517/0.3748, allocations: 491.7 kB / 0.9762 GB, free: 1.242 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003717/0.3752, allocations: 149.8 kB / 0.9764 GB, free: 1.094 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.697e-05/0.3753, allocations: 12 kB / 0.9764 GB, free: 1.082 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002253/0.3755, allocations: 333.9 kB / 0.9767 GB, free: 0.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009081/0.3764, allocations: 173 kB / 0.9768 GB, free: 0.582 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/0.3776, allocations: 327 kB / 0.9772 GB, free: 204 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.3787, allocations: 220.7 kB / 0.9774 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.599e-05/0.3788, allocations: 4 kB / 0.9774 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.004252/0.383, allocations: 0.7213 MB / 0.9781 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.000273/0.3834, allocations: 217.5 kB / 0.9783 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.148e-05/0.3834, allocations: 8 kB / 0.9783 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009668/0.3844, allocations: 112.8 kB / 0.9784 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000806/0.3852, allocations: 119.8 kB / 0.9785 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008087/0.3861, allocations: 0.6264 MB / 0.9791 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.3874, allocations: 91.48 kB / 0.9792 GB, free: 14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.3876, allocations: 27.98 kB / 0.9792 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3876, allocations: 4 kB / 0.9792 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002197/0.3898, allocations: 0.6131 MB / 0.9798 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.622e-05/0.3898, allocations: 4 kB / 0.9798 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008505/0.3907, allocations: 113.1 kB / 0.98 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007722/0.3915, allocations: 111.8 kB / 0.9801 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007502/0.3922, allocations: 0.6264 MB / 0.9807 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.3935, allocations: 91.48 kB / 0.9808 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.3936, allocations: 31.98 kB / 0.9808 GB, free: 12.35 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0007164/0.3944, allocations: 333 kB / 0.9811 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002841/0.3947, allocations: 102.8 kB / 0.9812 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003232/0.3979, allocations: 1.007 MB / 0.9822 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.048e-05/0.398, allocations: 15.98 kB / 0.9822 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.398, allocations: 0 / 0.9822 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00223/0.4002, allocations: 0.928 MB / 0.9831 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005267/0.4055, allocations: 1.939 MB / 0.985 GB, free: 7.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.704e-05/0.4056, allocations: 8.031 kB / 0.985 GB, free: 7.895 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007193/0.4063, allocations: 87.88 kB / 0.9851 GB, free: 7.809 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005738/0.4069, allocations: 80.75 kB / 0.9852 GB, free: 7.727 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.062e-05/0.407, allocations: 23.92 kB / 0.9852 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007009/0.4077, allocations: 0.6303 MB / 0.9858 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.4078, allocations: 4.031 kB / 0.9858 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003457/0.4112, allocations: 1.247 MB / 0.987 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008798/0.4121, allocations: 287.6 kB / 0.9873 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002093/0.4124, allocations: 12 kB / 0.9873 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.4135, allocations: 67.73 kB / 0.9874 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/0.4137, allocations: 52.48 kB / 0.9874 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.846e-05/0.4138, allocations: 27.92 kB / 0.9875 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001664/0.4155, allocations: 0.6098 MB / 0.9881 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.71e-07/0.4155, allocations: 3.938 kB / 0.9881 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002621/0.4181, allocations: 0.6081 MB / 0.9887 GB, free: 4.074 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.dynBal.U) * 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 (55): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001542/0.4197, allocations: 0.4986 MB / 0.9891 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00276/0.4225, allocations: 0.9286 MB / 0.99 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.614e-05/0.4225, allocations: 0 / 0.99 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.4235, allocations: 406.5 kB / 0.9904 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004196/0.4278, allocations: 478.5 kB / 0.9909 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005627/0.4334, allocations: 2.329 MB / 0.9932 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009585/0.4345, allocations: 1.058 MB / 0.9942 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001706/0.4362, allocations: 274.8 kB / 0.9945 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003652/0.4366, allocations: 87.41 kB / 0.9945 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of SimCode: time 1.202e-06/0.4366, allocations: 8 kB / 0.9945 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of Templates: time 0.06666/0.5033, allocations: 23 MB / 1.017 GB, free: 7.219 MB / 0.6667 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)