Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 92.2 kB / 20.19 MB, free: 4.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 169 kB / 23.49 MB, free: 1.051 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9379/0.9379, allocations: 177.1 MB / 203.8 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.123/2.123, allocations: 429.5 MB / 0.6736 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTemIn.T|senTemInNoMix.T|senTemOutNoMix.T|senTemOut.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTemIn.T|senTemInNoMix.T|senTemOutNoMix.T|senTemOut.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.895e-06/2.895e-06, allocations: 0 / 0.8782 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.289e-05/3.579e-05, allocations: 5.828 kB / 0.8782 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1002/0.1002, allocations: 120.4 MB / 0.9958 GB, free: 13.81 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.02788/0.1281, allocations: 28.42 MB / 1.024 GB, free: 1.32 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003508/0.1316, allocations: 154.8 kB / 1.024 GB, free: 1.168 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.002411/0.134, allocations: 1.168 MB / 1.025 GB, free: 15.99 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.006546/0.1406, allocations: 3.741 MB / 1.029 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.005038/0.1456, allocations: 2.897 MB / 1.031 GB, free: 9.324 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.005957/0.1516, allocations: 6.376 MB / 1.038 GB, free: 2.922 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001716/0.1533, allocations: 1.584 MB / 1.039 GB, free: 1.309 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005208/0.1585, allocations: 3.927 MB / 1.043 GB, free: 13.39 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001762/0.1603, allocations: 1.511 MB / 1.044 GB, free: 11.87 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002726/0.1605, allocations: 216 kB / 1.045 GB, free: 11.66 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003053/0.1636, allocations: 1.773 MB / 1.046 GB, free: 9.883 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003888/0.164, allocations: 0.5523 MB / 1.047 GB, free: 9.328 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.000849/0.1648, allocations: 0.8963 MB / 1.048 GB, free: 8.43 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.004166/0.169, allocations: 2.889 MB / 1.051 GB, free: 5.531 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.169, allocations: 4 kB / 1.051 GB, free: 5.527 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.563e-06/0.169, allocations: 0 / 1.051 GB, free: 5.527 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.728e-05/0.169, allocations: 0 / 1.051 GB, free: 5.527 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.0032/0.1722, allocations: 2.893 MB / 1.053 GB, free: 2.578 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.1723, allocations: 12.03 kB / 1.053 GB, free: 2.566 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007555/0.173, allocations: 434.1 kB / 1.054 GB, free: 2.141 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002503/0.1755, allocations: 1.988 MB / 1.056 GB, free: 92 kB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.4227/0.5982, allocations: 106.8 kB / 1.056 GB, free: 79.18 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002985/0.5985, allocations: 145.1 kB / 1.056 GB, free: 79.18 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.6, allocations: 1.254 MB / 1.057 GB, free: 78.71 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.568e-05/0.6, allocations: 7.422 kB / 1.057 GB, free: 78.71 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.084e-05/0.6001, allocations: 62.09 kB / 1.057 GB, free: 78.71 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.397e-05/0.6002, allocations: 39.34 kB / 1.057 GB, free: 78.71 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008486/0.601, allocations: 0.5286 MB / 1.058 GB, free: 78.68 MB / 1.01 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.004614/0.6056, allocations: 5.882 MB / 1.064 GB, free: 76.07 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007646/0.6064, allocations: 0.5114 MB / 1.064 GB, free: 76.04 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002432/0.6067, allocations: 193.9 kB / 1.064 GB, free: 76.02 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005398/0.6072, allocations: 270.7 kB / 1.065 GB, free: 76.02 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.6072, allocations: 46.86 kB / 1.065 GB, free: 75.98 MB / 1.01 GB Notification: Performance of pre-optimization done (n=85): time 2.715e-06/0.6072, allocations: 0.7812 kB / 1.065 GB, free: 75.98 MB / 1.01 GB Notification: Performance of matching and sorting (n=85): time 0.001105/0.6083, allocations: 0.7603 MB / 1.065 GB, free: 75.89 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.6084, allocations: 63.5 kB / 1.065 GB, free: 75.83 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.6094, allocations: 1.397 MB / 1.067 GB, free: 75.53 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.724e-05/0.6095, allocations: 47.34 kB / 1.067 GB, free: 75.5 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004239/0.6099, allocations: 1.006 MB / 1.068 GB, free: 75.18 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.61, allocations: 315.8 kB / 1.068 GB, free: 75.02 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.6102, allocations: 240.9 kB / 1.068 GB, free: 74.98 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 6.895e-05/0.6103, allocations: 0.5249 MB / 1.069 GB, free: 74.5 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/0.6105, allocations: 163.8 kB / 1.069 GB, free: 74.49 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004095/0.611, allocations: 0.9125 MB / 1.07 GB, free: 73.55 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007165/0.6117, allocations: 0.9125 MB / 1.071 GB, free: 72.91 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.6117, allocations: 4.125 kB / 1.071 GB, free: 72.91 MB / 1.01 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001108/0.6128, allocations: 0.9933 MB / 1.072 GB, free: 72.77 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.6128, allocations: 10.84 kB / 1.072 GB, free: 72.77 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.262e-05/0.6128, allocations: 16.62 kB / 1.072 GB, free: 72.77 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.6128, allocations: 16.34 kB / 1.072 GB, free: 72.77 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004595/0.6133, allocations: 263.8 kB / 1.072 GB, free: 72.77 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.639e-05/0.6133, allocations: 25.27 kB / 1.072 GB, free: 72.77 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004939/0.6138, allocations: 115.7 kB / 1.072 GB, free: 72.74 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-05/0.6139, allocations: 70.95 kB / 1.072 GB, free: 72.73 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000407/0.6143, allocations: 301.6 kB / 1.073 GB, free: 72.61 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003999/0.6147, allocations: 0.912 MB / 1.073 GB, free: 71.67 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006951/0.6154, allocations: 0.9131 MB / 1.074 GB, free: 71.03 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.461e-06/0.6154, allocations: 5.281 kB / 1.074 GB, free: 71.03 MB / 1.01 GB Notification: Performance of matching and sorting (n=146) (initialization_lambda0): time 0.001084/0.6165, allocations: 0.9833 MB / 1.075 GB, free: 70.89 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.6165, allocations: 11.91 kB / 1.075 GB, free: 70.89 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/0.6165, allocations: 22.58 kB / 1.075 GB, free: 70.89 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.6165, allocations: 18.09 kB / 1.075 GB, free: 70.89 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004232/0.6169, allocations: 259.1 kB / 1.076 GB, free: 70.89 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.617, allocations: 26.64 kB / 1.076 GB, free: 70.89 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004303/0.6174, allocations: 100.8 kB / 1.076 GB, free: 70.87 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.636e-05/0.6175, allocations: 68.12 kB / 1.076 GB, free: 70.87 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (142): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001383/0.6176, allocations: 349.8 kB / 1.076 GB, free: 70.6 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001984/0.6178, allocations: 215.3 kB / 1.076 GB, free: 70.5 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/0.6193, allocations: 1.325 MB / 1.078 GB, free: 70.36 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-05/0.6194, allocations: 19.09 kB / 1.078 GB, free: 70.36 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.6194, allocations: 0 / 1.078 GB, free: 70.36 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007534/0.6201, allocations: 0.7268 MB / 1.078 GB, free: 70.2 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002485/0.6226, allocations: 2.437 MB / 1.081 GB, free: 69.67 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/0.6226, allocations: 11.66 kB / 1.081 GB, free: 69.67 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000359/0.623, allocations: 180 kB / 1.081 GB, free: 69.67 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.623, allocations: 7.875 kB / 1.081 GB, free: 69.67 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.442e-05/0.623, allocations: 33.77 kB / 1.081 GB, free: 69.67 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.623, allocations: 12.05 kB / 1.081 GB, free: 69.67 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.623, allocations: 6.016 kB / 1.081 GB, free: 69.67 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.6244, allocations: 1.425 MB / 1.082 GB, free: 69.17 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003573/0.6248, allocations: 353.7 kB / 1.083 GB, free: 69.06 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.6249, allocations: 24.75 kB / 1.083 GB, free: 69.06 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003897/0.6253, allocations: 40.44 kB / 1.083 GB, free: 69.05 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.6254, allocations: 109.1 kB / 1.083 GB, free: 69.05 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.04e-05/0.6255, allocations: 55.08 kB / 1.083 GB, free: 69.05 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0006999/0.6262, allocations: 0.8364 MB / 1.084 GB, free: 68.86 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.6262, allocations: 0 / 1.084 GB, free: 68.86 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001866/0.6281, allocations: 1.173 MB / 1.085 GB, free: 68.79 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * 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 (117): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008144/0.6289, allocations: 0.7542 MB / 1.086 GB, free: 68.64 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001544/0.6304, allocations: 1.266 MB / 1.087 GB, free: 68.34 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6304, allocations: 0.9375 kB / 1.087 GB, free: 68.34 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005135/0.6309, allocations: 0.4902 MB / 1.087 GB, free: 68.18 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/0.6329, allocations: 0.8354 MB / 1.088 GB, free: 68.05 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003395/0.6363, allocations: 3.235 MB / 1.091 GB, free: 66.39 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.6365, allocations: 358.5 kB / 1.092 GB, free: 66.28 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000945/0.6375, allocations: 491.6 kB / 1.092 GB, free: 66.15 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002721/0.6378, allocations: 179 kB / 1.092 GB, free: 66.14 MB / 1.01 GB Notification: Performance of SimCode: time 8.82e-07/0.6378, allocations: 0 / 1.092 GB, free: 66.14 MB / 1.01 GB Notification: Performance of Templates: time 0.05136/0.6891, allocations: 40.26 MB / 1.132 GB, free: 60.8 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.735721858916804]