Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 107.3 kB / 15.99 MB, free: 5.91 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.001407/0.001407, allocations: 193.6 kB / 16.91 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 240.6 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002567/0.002567, allocations: 289 kB / 291 MB, free: 14.69 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.216/1.216, allocations: 178.5 MB / 0.5076 GB, free: 12.76 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00271/0.00271, allocations: 99.84 kB / 0.6066 GB, free: 9.637 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1844, allocations: 89.13 MB / 0.6936 GB, free: 432 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003372/0.1878, allocations: 1.695 MB / 0.6953 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002332/0.1901, allocations: 1.452 MB / 0.6967 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.528e-05/0.1902, allocations: 4 kB / 0.6967 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004665/0.1907, allocations: 47.83 kB / 0.6968 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.1909, allocations: 55.7 kB / 0.6968 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.1912, allocations: 90.03 kB / 0.6969 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002447/0.1915, allocations: 167.7 kB / 0.6971 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.394e-05/0.1915, allocations: 8.219 kB / 0.6971 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.1916, allocations: 63.72 kB / 0.6971 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.1918, allocations: 67.8 kB / 0.6972 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.702e-05/0.1918, allocations: 15.94 kB / 0.6972 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.192, allocations: 67.97 kB / 0.6973 GB, free: 12.67 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.383e-05/0.1921, allocations: 47.83 kB / 0.6973 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.966e-05/0.1922, allocations: 63.61 kB / 0.6974 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.1924, allocations: 144 kB / 0.6975 GB, free: 12.42 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1924, allocations: 0 / 0.6975 GB, free: 12.42 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1924, allocations: 0 / 0.6975 GB, free: 12.42 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.1924, allocations: 0 / 0.6975 GB, free: 12.42 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006973/0.1931, allocations: 466.6 kB / 0.698 GB, free: 11.91 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.1932, allocations: 8.031 kB / 0.698 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.296e-05/0.1933, allocations: 16.75 kB / 0.698 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003626/0.1936, allocations: 267.8 kB / 0.6982 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.1937, allocations: 4.375 kB / 0.6982 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.1937, allocations: 8.125 kB / 0.6983 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.1939, allocations: 115.3 kB / 0.6984 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.194, allocations: 3.938 kB / 0.6984 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.194, allocations: 0 / 0.6984 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.194, allocations: 4 kB / 0.6984 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002545/0.1943, allocations: 147.7 kB / 0.6985 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002835/0.1945, allocations: 233.5 kB / 0.6987 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003888/0.1949, allocations: 174.5 kB / 0.6989 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.1951, allocations: 56.78 kB / 0.699 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.1951, allocations: 4 kB / 0.699 GB, free: 10.78 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000283/0.1954, allocations: 111.3 kB / 0.6991 GB, free: 10.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.1954, allocations: 3.938 kB / 0.6991 GB, free: 10.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0005092/0.1959, allocations: 221.4 kB / 0.6993 GB, free: 10.43 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.272e-05/0.196, allocations: 81.11 kB / 0.6994 GB, free: 10.34 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.1962, allocations: 199.2 kB / 0.6995 GB, free: 10.13 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.1963, allocations: 33.7 kB / 0.6996 GB, free: 10.09 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/0.1963, allocations: 116.1 kB / 0.6997 GB, free: 9.973 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.761e-05/0.1964, allocations: 47.39 kB / 0.6997 GB, free: 9.926 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.927e-05/0.1965, allocations: 37.7 kB / 0.6998 GB, free: 9.883 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1966, allocations: 326.8 kB / 0.7001 GB, free: 9.555 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.1967, allocations: 47.97 kB / 0.7001 GB, free: 9.508 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.1969, allocations: 70.55 kB / 0.7002 GB, free: 9.43 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/0.1971, allocations: 128.5 kB / 0.7003 GB, free: 9.301 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.1971, allocations: 4.141 kB / 0.7003 GB, free: 9.297 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003456/0.1975, allocations: 197.3 kB / 0.7005 GB, free: 9.098 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1975, allocations: 7.984 kB / 0.7005 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.1975, allocations: 4 kB / 0.7005 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1975, allocations: 0 / 0.7005 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.1976, allocations: 23.98 kB / 0.7005 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1977, allocations: 0 / 0.7005 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.142e-05/0.1977, allocations: 7.906 kB / 0.7006 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.1977, allocations: 8 kB / 0.7006 GB, free: 9.047 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001466/0.1979, allocations: 153 kB / 0.7007 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.607e-05/0.1979, allocations: 15.81 kB / 0.7007 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.142e-05/0.198, allocations: 25.52 kB / 0.7007 GB, free: 8.844 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.198, allocations: 4 kB / 0.7008 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.198, allocations: 0 / 0.7008 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.198, allocations: 0 / 0.7008 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.1983, allocations: 241.4 kB / 0.701 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1983, allocations: 0 / 0.701 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.06e-05/0.1984, allocations: 23.94 kB / 0.701 GB, free: 8.531 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1984, allocations: 0 / 0.701 GB, free: 8.531 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.1984, allocations: 15.98 kB / 0.701 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1984, allocations: 0 / 0.701 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1984, allocations: 0 / 0.701 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003678/0.1988, allocations: 220.8 kB / 0.7012 GB, free: 8.281 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.276e-05/0.1989, allocations: 88.92 kB / 0.7013 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/0.1989, allocations: 0 / 0.7013 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.837e-05/0.199, allocations: 8 kB / 0.7013 GB, free: 8.168 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.199, allocations: 11.98 kB / 0.7013 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.199, allocations: 4 kB / 0.7013 GB, free: 8.152 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001497/0.1992, allocations: 155 kB / 0.7015 GB, free: 8 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1992, allocations: 0 / 0.7015 GB, free: 8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002566/0.1995, allocations: 36 kB / 0.7015 GB, free: 7.965 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001623/0.2011, allocations: 464.5 kB / 0.702 GB, free: 7.68 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000345/0.2014, allocations: 135.9 kB / 0.7021 GB, free: 7.547 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2015, allocations: 0 / 0.7021 GB, free: 7.547 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.2016, allocations: 63.91 kB / 0.7022 GB, free: 7.484 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.2019, allocations: 36.27 kB / 0.7022 GB, free: 7.449 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007639/0.2027, allocations: 367.6 kB / 0.7025 GB, free: 7.062 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004705/0.2032, allocations: 0.7202 MB / 0.7032 GB, free: 6.312 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.537e-05/0.2033, allocations: 35.36 kB / 0.7033 GB, free: 6.277 MB / 0.545 GB Notification: Performance of SimCode: time 2.71e-07/0.2033, allocations: 3.938 kB / 0.7033 GB, free: 6.273 MB / 0.545 GB Notification: Performance of Templates: time 0.005426/0.2087, allocations: 2.806 MB / 0.706 GB, free: 3.508 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)