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.006057/0.006057, allocations: 104 kB / 15.73 MB, free: 6.043 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.001291/0.001292, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002133/0.002133, allocations: 282.8 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9753/0.9753, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 91.86 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.188, allocations: 86.98 MB / 0.7664 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002705/0.1908, allocations: 1.628 MB / 0.768 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002117/0.1929, allocations: 1.48 MB / 0.7694 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.77e-05/0.193, allocations: 3.938 kB / 0.7694 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003627/0.1934, allocations: 55.75 kB / 0.7695 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.1935, allocations: 51.75 kB / 0.7695 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.1938, allocations: 115.1 kB / 0.7697 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002031/0.194, allocations: 163.6 kB / 0.7698 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.962e-05/0.1941, allocations: 16.22 kB / 0.7698 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.1942, allocations: 67.75 kB / 0.7699 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.1943, allocations: 63.75 kB / 0.77 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.572e-05/0.1944, allocations: 8 kB / 0.77 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.1945, allocations: 67.97 kB / 0.77 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.216e-05/0.1946, allocations: 51.83 kB / 0.7701 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.016e-05/0.1947, allocations: 55.66 kB / 0.7701 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000272/0.1949, allocations: 203.3 kB / 0.7703 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.195, allocations: 0 / 0.7703 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.853e-06/0.195, allocations: 4 kB / 0.7703 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.195, allocations: 0 / 0.7703 GB, free: 4.391 MB / 0.5606 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.0005907/0.1956, allocations: 470.5 kB / 0.7708 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.1956, allocations: 8.031 kB / 0.7708 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.493e-05/0.1957, allocations: 16.75 kB / 0.7708 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.196, allocations: 260.3 kB / 0.771 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.196, allocations: 8.312 kB / 0.7711 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.1961, allocations: 12.12 kB / 0.7711 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.1963, allocations: 115.3 kB / 0.7712 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.1963, allocations: 4 kB / 0.7712 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.1963, allocations: 3.984 kB / 0.7712 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1964, allocations: 0 / 0.7712 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002166/0.1966, allocations: 143.8 kB / 0.7713 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002295/0.1968, allocations: 233.5 kB / 0.7715 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000373/0.1972, allocations: 178.4 kB / 0.7717 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.814e-05/0.1973, allocations: 56.72 kB / 0.7718 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.1973, allocations: 8 kB / 0.7718 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002106/0.1975, allocations: 115.2 kB / 0.7719 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.1976, allocations: 0 / 0.7719 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0004622/0.198, allocations: 221.4 kB / 0.7721 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.1981, allocations: 85.11 kB / 0.7722 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.1983, allocations: 202.6 kB / 0.7724 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.1983, allocations: 29.7 kB / 0.7724 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.124e-05/0.1984, allocations: 108.1 kB / 0.7725 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.88e-05/0.1984, allocations: 47.44 kB / 0.7725 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.933e-05/0.1985, allocations: 33.7 kB / 0.7726 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1986, allocations: 326.8 kB / 0.7729 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.1987, allocations: 51.98 kB / 0.7729 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.1988, allocations: 74.55 kB / 0.773 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.199, allocations: 125.7 kB / 0.7731 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.199, allocations: 0 / 0.7731 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003013/0.1993, allocations: 199.9 kB / 0.7733 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.1994, allocations: 4 kB / 0.7733 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1994, allocations: 0 / 0.7733 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1994, allocations: 4.062 kB / 0.7733 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.1995, allocations: 31.92 kB / 0.7734 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1995, allocations: 0 / 0.7734 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.533e-05/0.1996, allocations: 15.92 kB / 0.7734 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.1996, allocations: 4 kB / 0.7734 GB, free: 1.008 MB / 0.5606 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.0001095/0.1997, allocations: 134.4 kB / 0.7735 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.262e-05/0.1997, allocations: 19.72 kB / 0.7735 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.56e-05/0.1998, allocations: 29.52 kB / 0.7736 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1998, allocations: 4 kB / 0.7736 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1998, allocations: 3.938 kB / 0.7736 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1998, allocations: 0 / 0.7736 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.2, allocations: 237.5 kB / 0.7738 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.2, allocations: 0 / 0.7738 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.117e-05/0.2001, allocations: 19.98 kB / 0.7738 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2001, allocations: 0 / 0.7738 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.2001, allocations: 0 / 0.7738 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2001, allocations: 4 kB / 0.7738 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2001, allocations: 3.984 kB / 0.7738 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003131/0.2004, allocations: 212.8 kB / 0.774 GB, free: 280 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.616e-05/0.2005, allocations: 96.84 kB / 0.7741 GB, free: 164 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/0.2005, allocations: 11.94 kB / 0.7741 GB, free: 152 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.397e-05/0.2006, allocations: 3.938 kB / 0.7741 GB, free: 148 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.2006, allocations: 11.98 kB / 0.7741 GB, free: 136 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.2007, allocations: 8 kB / 0.7741 GB, free: 128 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.3856/0.5862, allocations: 149.5 kB / 0.7743 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.3e-07/0.5863, allocations: 0.875 kB / 0.7743 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004163/0.5867, allocations: 31.08 kB / 0.7743 GB, free: 15.16 MB / 0.5606 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.001116/0.5878, allocations: 460.2 kB / 0.7748 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003577/0.5882, allocations: 125 kB / 0.7749 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5882, allocations: 0 / 0.7749 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.5884, allocations: 64.8 kB / 0.7749 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.5887, allocations: 38.91 kB / 0.775 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006423/0.5893, allocations: 289.1 kB / 0.7752 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001683/0.5895, allocations: 0.7202 MB / 0.776 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001311/0.5897, allocations: 50.41 kB / 0.776 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.605e-05/0.5897, allocations: 34.47 kB / 0.776 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of SimCode: time 3.4e-07/0.5897, allocations: 0 / 0.776 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of Templates: time 0.006257/0.596, allocations: 2.525 MB / 0.7785 GB, free: 14.01 MB / 0.5606 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)