Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.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.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.496/2.496, allocations: 287.5 MB / 303.2 MB, free: 8.215 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.001363/0.001362, allocations: 176.7 kB / 371.8 MB, free: 10.83 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.04/2.04, allocations: 205.4 MB / 0.6305 GB, free: 10.58 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.0008628/0.0008627, allocations: 90.39 kB / 0.7438 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004797/0.0004798, allocations: 11.02 kB / 0.8667 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2188, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.283/1.502, allocations: 446 MB / 1.415 GB, free: 1.391 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000388/1.503, allocations: 106.5 kB / 1.415 GB, free: 1.332 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 12.91/14.42, allocations: 2.333 GB / 3.747 GB, free: 65.65 MB / 1.073 GB Notification: Performance of FrontEnd: time 3.667e-06/14.42, allocations: 0 / 3.747 GB, free: 65.65 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.001196/14.42, allocations: 150.8 kB / 3.748 GB, free: 65.62 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.03351/14.45, allocations: 6.994 MB / 3.754 GB, free: 63 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/14.45, allocations: 11.11 kB / 3.754 GB, free: 63 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004957/14.45, allocations: 0.7161 MB / 3.755 GB, free: 62.65 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1316/14.59, allocations: 39.56 MB / 3.794 GB, free: 60.14 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005722/14.59, allocations: 283.3 kB / 3.794 GB, free: 60.14 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001988/14.59, allocations: 390.1 kB / 3.794 GB, free: 60.13 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01716/14.61, allocations: 4.069 MB / 3.798 GB, free: 59.68 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002631/14.61, allocations: 12.81 kB / 3.798 GB, free: 59.67 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001408/14.61, allocations: 154.5 kB / 3.799 GB, free: 59.67 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001916/14.61, allocations: 106.3 kB / 3.799 GB, free: 59.67 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01183/14.62, allocations: 3.062 MB / 3.802 GB, free: 59.64 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.04773/14.67, allocations: 23.35 MB / 3.824 GB, free: 46.87 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006747/14.67, allocations: 2.357 MB / 3.827 GB, free: 46.82 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003642/14.68, allocations: 1.289 MB / 3.828 GB, free: 46.8 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00545/14.68, allocations: 6.424 MB / 3.834 GB, free: 39.57 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00471/14.69, allocations: 1.441 MB / 3.836 GB, free: 39.48 MB / 1.073 GB Notification: Performance of pre-optimization done (n=261): time 7.253e-06/14.69, allocations: 0 / 3.836 GB, free: 39.48 MB / 1.073 GB Notification: Performance of matching and sorting (n=261): time 0.01395/14.7, allocations: 3.742 MB / 3.839 GB, free: 39.11 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.117e-05/14.7, allocations: 101.3 kB / 3.839 GB, free: 39.01 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01176/14.71, allocations: 4.037 MB / 3.843 GB, free: 38.67 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.001015/14.72, allocations: 81.92 kB / 3.843 GB, free: 38.64 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.00424/14.72, allocations: 2.464 MB / 3.846 GB, free: 37.94 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001954/14.72, allocations: 0.9046 MB / 3.847 GB, free: 37.35 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005499/14.72, allocations: 56.22 kB / 3.847 GB, free: 37.35 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0003343/14.72, allocations: 411.6 kB / 3.847 GB, free: 37.04 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003523/14.73, allocations: 1.016 MB / 3.848 GB, free: 37.04 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004192/14.73, allocations: 1.709 MB / 3.85 GB, free: 36.3 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007607/14.74, allocations: 2.838 MB / 3.853 GB, free: 35.67 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.55e-05/14.74, allocations: 4.188 kB / 3.853 GB, free: 35.67 MB / 1.073 GB Notification: Performance of matching and sorting (n=360) (initialization): time 0.01217/14.75, allocations: 3.396 MB / 3.856 GB, free: 35.3 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003774/14.75, allocations: 0.5634 MB / 3.856 GB, free: 34.63 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001469/14.75, allocations: 31.75 kB / 3.857 GB, free: 34.63 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.658e-05/14.75, allocations: 29.42 kB / 3.857 GB, free: 34.63 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004841/14.76, allocations: 0.6202 MB / 3.857 GB, free: 34.63 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.281e-05/14.76, allocations: 37.86 kB / 3.857 GB, free: 34.63 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008125/14.76, allocations: 0.5012 MB / 3.858 GB, free: 34.49 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001082/14.77, allocations: 155.3 kB / 3.858 GB, free: 34.49 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/14.77, allocations: 4.641 kB / 3.858 GB, free: 34.49 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01054/14.78, allocations: 2.93 MB / 3.861 GB, free: 34.4 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001705/14.78, allocations: 31.38 kB / 3.861 GB, free: 34.4 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.536e-05/14.78, allocations: 27.75 kB / 3.861 GB, free: 34.4 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004786/14.78, allocations: 0.6078 MB / 3.861 GB, free: 34.4 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.637e-05/14.78, allocations: 42.75 kB / 3.861 GB, free: 34.4 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007781/14.79, allocations: 484.5 kB / 3.862 GB, free: 34.29 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001054/14.79, allocations: 151.1 kB / 3.862 GB, free: 34.29 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.004374/14.79, allocations: 1.071 MB / 3.863 GB, free: 34.09 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002052/14.8, allocations: 494.4 kB / 3.863 GB, free: 33.83 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01735/14.81, allocations: 5 MB / 3.868 GB, free: 33.58 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001335/14.81, allocations: 56.83 kB / 3.868 GB, free: 33.58 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/14.81, allocations: 0 / 3.868 GB, free: 33.58 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0104/14.82, allocations: 3.571 MB / 3.872 GB, free: 33.05 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0294/14.85, allocations: 9.28 MB / 3.881 GB, free: 32.36 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001628/14.85, allocations: 21.86 kB / 3.881 GB, free: 32.36 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004647/14.86, allocations: 0.5371 MB / 3.882 GB, free: 32.36 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.563e-05/14.86, allocations: 11.34 kB / 3.882 GB, free: 32.36 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006169/14.86, allocations: 103.4 kB / 3.882 GB, free: 32.36 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.316e-05/14.86, allocations: 16.88 kB / 3.882 GB, free: 32.36 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/14.86, allocations: 1.688 kB / 3.882 GB, free: 32.36 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01606/14.88, allocations: 6.091 MB / 3.888 GB, free: 31.7 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004939/14.88, allocations: 1.136 MB / 3.889 GB, free: 31.27 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002242/14.88, allocations: 68.22 kB / 3.889 GB, free: 31.27 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007402/14.89, allocations: 381.8 kB / 3.889 GB, free: 31.25 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001091/14.89, allocations: 271.8 kB / 3.889 GB, free: 31.25 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005697/14.89, allocations: 145.8 kB / 3.89 GB, free: 31.25 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.008317/14.9, allocations: 2.695 MB / 3.892 GB, free: 31.07 MB / 1.073 GB Notification: Performance of sort global known variables: time 6.11e-07/14.9, allocations: 3.719 kB / 3.892 GB, free: 31.07 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.01716/14.92, allocations: 3.285 MB / 3.895 GB, free: 30.58 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.00976/14.93, allocations: 3.802 MB / 3.899 GB, free: 29.27 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.01328/14.94, allocations: 5.302 MB / 3.904 GB, free: 28.43 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.254e-05/14.94, allocations: 5.484 kB / 3.904 GB, free: 28.43 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.005518/14.95, allocations: 2.306 MB / 3.907 GB, free: 28.04 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02339/14.97, allocations: 2.199 MB / 3.909 GB, free: 28.02 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02966/15, allocations: 12.31 MB / 3.921 GB, free: 22.8 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005084/15, allocations: 2.871 MB / 3.924 GB, free: 21.93 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.009975/15.01, allocations: 1.451 MB / 3.925 GB, free: 21.77 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002648/15.02, allocations: 477.2 kB / 3.925 GB, free: 21.76 MB / 1.073 GB Notification: Performance of SimCode: time 2.083e-06/15.02, allocations: 0 / 3.925 GB, free: 21.76 MB / 1.073 GB Notification: Performance of Templates: time 0.2876/15.31, allocations: 117.7 MB / 4.04 GB, free: 12.06 MB / 1.073 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.sim & ./Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe 2>&1)