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.001226/0.001227, allocations: 107.4 kB / 16.37 MB, free: 6.477 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.0009883/0.0009884, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.254/1.254, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002192/0.002192, allocations: 283.6 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8917/0.8917, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002797/0.002797, allocations: 94.41 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1914, allocations: 86.98 MB / 0.6816 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002888/0.1943, allocations: 1.637 MB / 0.6832 GB, free: 5.789 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.1963, allocations: 1.48 MB / 0.6847 GB, free: 4.301 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.74e-05/0.1964, allocations: 7.875 kB / 0.6847 GB, free: 4.293 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003658/0.1968, allocations: 47.77 kB / 0.6847 GB, free: 4.246 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.197, allocations: 55.7 kB / 0.6848 GB, free: 4.191 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.1972, allocations: 106.8 kB / 0.6849 GB, free: 4.09 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002082/0.1974, allocations: 167.7 kB / 0.685 GB, free: 3.926 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.533e-05/0.1975, allocations: 8.219 kB / 0.685 GB, free: 3.914 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.828e-05/0.1976, allocations: 63.77 kB / 0.6851 GB, free: 3.852 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.1978, allocations: 71.69 kB / 0.6852 GB, free: 3.781 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.1978, allocations: 8 kB / 0.6852 GB, free: 3.773 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.1979, allocations: 71.95 kB / 0.6852 GB, free: 3.703 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.185e-05/0.198, allocations: 35.91 kB / 0.6853 GB, free: 3.668 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.942e-05/0.1981, allocations: 63.59 kB / 0.6853 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.1983, allocations: 199.3 kB / 0.6855 GB, free: 3.41 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1983, allocations: 4 kB / 0.6855 GB, free: 3.406 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1983, allocations: 0 / 0.6855 GB, free: 3.406 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1984, allocations: 0 / 0.6855 GB, free: 3.406 MB / 494.1 MB 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.0005643/0.1989, allocations: 466.7 kB / 0.686 GB, free: 2.902 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.199, allocations: 8.031 kB / 0.686 GB, free: 2.895 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.647e-05/0.199, allocations: 16.75 kB / 0.686 GB, free: 2.879 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.1994, allocations: 261.2 kB / 0.6863 GB, free: 2.586 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.1994, allocations: 8.312 kB / 0.6863 GB, free: 2.578 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.1994, allocations: 12.06 kB / 0.6863 GB, free: 2.566 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.1997, allocations: 115.3 kB / 0.6864 GB, free: 2.441 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.1997, allocations: 0 / 0.6864 GB, free: 2.441 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.1997, allocations: 4 kB / 0.6864 GB, free: 2.438 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.1997, allocations: 4 kB / 0.6864 GB, free: 2.434 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002192/0.1999, allocations: 139.9 kB / 0.6865 GB, free: 2.297 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002233/0.2002, allocations: 229.4 kB / 0.6867 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003453/0.2005, allocations: 186.5 kB / 0.6869 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.448e-05/0.2006, allocations: 56.78 kB / 0.687 GB, free: 1.773 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.196e-05/0.2006, allocations: 11.97 kB / 0.687 GB, free: 1.762 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001978/0.2009, allocations: 107.5 kB / 0.6871 GB, free: 1.645 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.2009, allocations: 7.875 kB / 0.6871 GB, free: 1.637 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004612/0.2013, allocations: 233.4 kB / 0.6873 GB, free: 1.402 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.2014, allocations: 77.11 kB / 0.6874 GB, free: 1.309 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.2016, allocations: 206.3 kB / 0.6876 GB, free: 1.094 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.2016, allocations: 29.7 kB / 0.6876 GB, free: 1.059 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.401e-05/0.2017, allocations: 112.1 kB / 0.6877 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.677e-05/0.2017, allocations: 39.45 kB / 0.6878 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.827e-05/0.2018, allocations: 33.7 kB / 0.6878 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.2019, allocations: 326.8 kB / 0.6881 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.389e-05/0.202, allocations: 55.97 kB / 0.6882 GB, free: 496 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.2021, allocations: 69.78 kB / 0.6882 GB, free: 420 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.2023, allocations: 132.8 kB / 0.6884 GB, free: 284 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2023, allocations: 0 / 0.6884 GB, free: 284 kB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002896/0.2026, allocations: 185.4 kB / 0.6885 GB, free: 92 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.2026, allocations: 8 kB / 0.6885 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2027, allocations: 4.062 kB / 0.6885 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.2027, allocations: 0 / 0.6885 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.2028, allocations: 31.92 kB / 0.6886 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.2028, allocations: 4 kB / 0.6886 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.025e-05/0.2029, allocations: 7.844 kB / 0.6886 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.2029, allocations: 8 kB / 0.6886 GB, free: 28 kB / 494.1 MB 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.2612/0.464, allocations: 135.1 kB / 0.6887 GB, free: 18.11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.758e-05/0.4641, allocations: 15.62 kB / 0.6887 GB, free: 18.11 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.058e-05/0.4642, allocations: 26.48 kB / 0.6888 GB, free: 18.11 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.4642, allocations: 1.875 kB / 0.6888 GB, free: 18.11 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.4642, allocations: 3.75 kB / 0.6888 GB, free: 18.11 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4642, allocations: 1.844 kB / 0.6888 GB, free: 18.11 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.4645, allocations: 238.8 kB / 0.689 GB, free: 17.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4645, allocations: 0.8438 kB / 0.689 GB, free: 17.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.27e-05/0.4646, allocations: 17.53 kB / 0.689 GB, free: 17.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.381e-06/0.4646, allocations: 1.281 kB / 0.689 GB, free: 17.92 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.4646, allocations: 3.859 kB / 0.689 GB, free: 17.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.4646, allocations: 5.781 kB / 0.689 GB, free: 17.92 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.4646, allocations: 3.75 kB / 0.689 GB, free: 17.92 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003743/0.465, allocations: 216.8 kB / 0.6892 GB, free: 17.86 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.123e-05/0.465, allocations: 93.36 kB / 0.6893 GB, free: 17.76 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/0.4651, allocations: 9.484 kB / 0.6893 GB, free: 17.76 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.706e-05/0.4651, allocations: 2.734 kB / 0.6893 GB, free: 17.76 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.4652, allocations: 16.75 kB / 0.6894 GB, free: 17.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/0.4652, allocations: 6.875 kB / 0.6894 GB, free: 17.76 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001246/0.4653, allocations: 152.8 kB / 0.6895 GB, free: 17.68 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4654, allocations: 0 / 0.6895 GB, free: 17.68 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002722/0.4656, allocations: 34.2 kB / 0.6895 GB, free: 17.68 MB / 494.1 MB 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.0009956/0.4666, allocations: 466.9 kB / 0.69 GB, free: 17.54 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002758/0.4669, allocations: 122.3 kB / 0.6901 GB, free: 17.54 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4669, allocations: 1.344 kB / 0.6901 GB, free: 17.54 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.4671, allocations: 65.08 kB / 0.6902 GB, free: 17.54 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.4673, allocations: 33.86 kB / 0.6902 GB, free: 17.54 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005042/0.4679, allocations: 294 kB / 0.6905 GB, free: 17.39 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.468, allocations: 0.7238 MB / 0.6912 GB, free: 16.69 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001173/0.4681, allocations: 47.83 kB / 0.6912 GB, free: 16.68 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.665e-05/0.4682, allocations: 32.17 kB / 0.6913 GB, free: 16.68 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4682, allocations: 0 / 0.6913 GB, free: 16.68 MB / 494.1 MB Notification: Performance of Templates: time 0.005922/0.4741, allocations: 2.491 MB / 0.6937 GB, free: 16.5 MB / 494.1 MB 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)