Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.713/1.713, allocations: 293 MB / 309 MB, free: 4.836 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.001063/0.001064, allocations: 184.5 kB / 378.7 MB, free: 1.031 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.69/1.69, allocations: 205.4 MB / 0.6383 GB, free: 8.168 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008035/0.0008035, allocations: 98.36 kB / 0.7527 GB, free: 62.8 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005382/0.0005383, allocations: 12 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3132, allocations: 116.4 MB / 0.9904 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.691/2.004, allocations: 447.1 MB / 1.427 GB, free: 269 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/2.004, allocations: 107.3 kB / 1.427 GB, free: 269 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 9.131/11.14, allocations: 2.333 GB / 3.76 GB, free: 66.14 MB / 1.073 GB Notification: Performance of FrontEnd: time 3.807e-06/11.14, allocations: 5.688 kB / 3.76 GB, free: 66.14 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.001619/11.14, allocations: 144.7 kB / 3.76 GB, free: 66.12 MB / 1.073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.03046/11.17, allocations: 6.996 MB / 3.767 GB, free: 63.2 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/11.17, allocations: 8.031 kB / 3.767 GB, free: 63.2 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005373/11.17, allocations: 0.7067 MB / 3.768 GB, free: 62.85 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09762/11.27, allocations: 39.57 MB / 3.806 GB, free: 60.32 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004935/11.27, allocations: 291.7 kB / 3.807 GB, free: 60.31 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002103/11.27, allocations: 384 kB / 3.807 GB, free: 60.3 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01562/11.29, allocations: 4.068 MB / 3.811 GB, free: 59.85 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000397/11.29, allocations: 21.12 kB / 3.811 GB, free: 59.84 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001766/11.29, allocations: 153.1 kB / 3.811 GB, free: 59.84 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001697/11.29, allocations: 98.73 kB / 3.811 GB, free: 59.84 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00992/11.3, allocations: 3.063 MB / 3.814 GB, free: 59.81 MB / 1.073 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.04357/11.35, allocations: 23.35 MB / 3.837 GB, free: 47.05 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006255/11.35, allocations: 2.36 MB / 3.839 GB, free: 46.97 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002649/11.35, allocations: 1.291 MB / 3.841 GB, free: 46.95 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00409/11.36, allocations: 6.424 MB / 3.847 GB, free: 39.72 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003485/11.36, allocations: 1.435 MB / 3.848 GB, free: 39.64 MB / 1.073 GB Notification: Performance of pre-optimization done (n=261): time 8.796e-06/11.36, allocations: 0 / 3.848 GB, free: 39.64 MB / 1.073 GB Notification: Performance of matching and sorting (n=261): time 0.00983/11.37, allocations: 3.748 MB / 3.852 GB, free: 39.25 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.512e-05/11.37, allocations: 103.6 kB / 3.852 GB, free: 39.16 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01102/11.38, allocations: 4.038 MB / 3.856 GB, free: 38.81 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.0009467/11.38, allocations: 79.86 kB / 3.856 GB, free: 38.78 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.003317/11.39, allocations: 2.465 MB / 3.858 GB, free: 38.08 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001912/11.39, allocations: 0.8994 MB / 3.859 GB, free: 37.5 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000662/11.39, allocations: 54.12 kB / 3.859 GB, free: 37.5 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.000331/11.39, allocations: 421 kB / 3.86 GB, free: 37.19 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002418/11.39, allocations: 1.015 MB / 3.861 GB, free: 37.18 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003084/11.4, allocations: 1.708 MB / 3.862 GB, free: 36.45 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005902/11.4, allocations: 2.828 MB / 3.865 GB, free: 35.82 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-05/11.4, allocations: 7.406 kB / 3.865 GB, free: 35.82 MB / 1.073 GB Notification: Performance of matching and sorting (n=360) (initialization): time 0.01022/11.41, allocations: 3.399 MB / 3.868 GB, free: 35.45 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004264/11.41, allocations: 0.5623 MB / 3.869 GB, free: 34.79 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001024/11.41, allocations: 29.98 kB / 3.869 GB, free: 34.79 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.243e-05/11.41, allocations: 32.39 kB / 3.869 GB, free: 34.79 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002303/11.42, allocations: 0.614 MB / 3.87 GB, free: 34.78 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-05/11.42, allocations: 39.14 kB / 3.87 GB, free: 34.78 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005869/11.42, allocations: 0.505 MB / 3.87 GB, free: 34.64 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006764/11.42, allocations: 156.2 kB / 3.87 GB, free: 34.64 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/11.42, allocations: 3.562 kB / 3.87 GB, free: 34.64 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006668/11.43, allocations: 2.931 MB / 3.873 GB, free: 34.55 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001054/11.43, allocations: 30.33 kB / 3.873 GB, free: 34.55 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.785e-05/11.43, allocations: 31.22 kB / 3.873 GB, free: 34.55 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002237/11.43, allocations: 0.6047 MB / 3.874 GB, free: 34.55 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.45e-05/11.43, allocations: 44.58 kB / 3.874 GB, free: 34.55 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005266/11.44, allocations: 481.6 kB / 3.874 GB, free: 34.43 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005251/11.44, allocations: 157 kB / 3.875 GB, free: 34.43 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (348): * Single equations (assignments): 336 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003394/11.44, allocations: 1.072 MB / 3.876 GB, free: 34.23 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001872/11.44, allocations: 498.3 kB / 3.876 GB, free: 33.98 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01189/11.45, allocations: 4.988 MB / 3.881 GB, free: 33.68 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.791e-05/11.45, allocations: 56.52 kB / 3.881 GB, free: 33.68 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.427e-05/11.45, allocations: 1.656 kB / 3.881 GB, free: 33.68 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005427/11.46, allocations: 3.574 MB / 3.884 GB, free: 33.14 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02183/11.48, allocations: 9.273 MB / 3.894 GB, free: 32.46 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.899e-05/11.48, allocations: 20.95 kB / 3.894 GB, free: 32.46 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002195/11.48, allocations: 0.5315 MB / 3.894 GB, free: 32.45 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.002e-05/11.48, allocations: 14.78 kB / 3.894 GB, free: 32.45 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004056/11.48, allocations: 101.5 kB / 3.894 GB, free: 32.45 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.589e-05/11.48, allocations: 23.02 kB / 3.894 GB, free: 32.45 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/11.48, allocations: 2.125 kB / 3.894 GB, free: 32.45 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01128/11.5, allocations: 6.093 MB / 3.9 GB, free: 31.79 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004561/11.5, allocations: 1.137 MB / 3.901 GB, free: 31.36 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002227/11.5, allocations: 69.55 kB / 3.901 GB, free: 31.36 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005117/11.51, allocations: 384.5 kB / 3.902 GB, free: 31.34 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006993/11.51, allocations: 273.1 kB / 3.902 GB, free: 31.34 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005747/11.51, allocations: 149.8 kB / 3.902 GB, free: 31.34 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.007146/11.52, allocations: 2.691 MB / 3.905 GB, free: 31.16 MB / 1.073 GB Notification: Performance of sort global known variables: time 4.41e-07/11.52, allocations: 0 / 3.905 GB, free: 31.16 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.01654/11.53, allocations: 3.29 MB / 3.908 GB, free: 30.67 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 23 (pip1.cor.del.x,pip1.cor.timDel.x,pip1.vol.dynBal.U,pip4.cor.del.x,pip4.cor.timDel.x,pip4.vol.dynBal.U,pip5.cor.del.x,pip5.cor.timDel.x,pip5.vol.dynBal.U,pip2.cor.del.x,pip2.cor.timDel.x,pip2.vol.dynBal.U,pip3.cor.del.x,pip3.cor.timDel.x,pip3.vol.dynBal.U,senTem_p3.T,senTem_p2.T,senTem_p4.T,senTem_p1.T,pip0.cor.del.x,pip0.cor.timDel.x,pip0.vol.dynBal.U,senTemIn_p2.T) * Number of discrete variables: 4 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (352): * Single equations (assignments): 286 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008588/11.54, allocations: 3.799 MB / 3.912 GB, free: 29.23 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.01131/11.55, allocations: 5.301 MB / 3.917 GB, free: 28.34 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/11.55, allocations: 448 / 3.917 GB, free: 28.34 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.003936/11.56, allocations: 2.302 MB / 3.919 GB, free: 27.89 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01752/11.57, allocations: 2.204 MB / 3.921 GB, free: 27.78 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02701/11.6, allocations: 12.32 MB / 3.933 GB, free: 21.88 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005933/11.61, allocations: 2.865 MB / 3.936 GB, free: 21.02 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.009796/11.62, allocations: 1.451 MB / 3.937 GB, free: 20.79 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002429/11.62, allocations: 475.5 kB / 3.938 GB, free: 20.77 MB / 1.073 GB Notification: Performance of SimCode: time 1.313e-06/11.62, allocations: 3.125 kB / 3.938 GB, free: 20.77 MB / 1.073 GB Notification: Performance of Templates: time 0.1933/11.81, allocations: 118.9 MB / 4.054 GB, free: 14.51 MB / 1.104 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe 2>&1)