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.00137/0.00137, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001639/0.001639, allocations: 194.4 kB / 16.14 MB, free: 6.66 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.312/1.312, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002077/0.002077, allocations: 286.8 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9504/0.9504, allocations: 169.2 MB / 0.4977 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002823/0.002823, allocations: 94.86 kB / 0.5945 GB, free: 28.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2036, allocations: 86.98 MB / 0.6794 GB, free: 1.199 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003051/0.2067, allocations: 1.695 MB / 0.6811 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002091/0.2088, allocations: 1.446 MB / 0.6825 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.58e-05/0.2089, allocations: 4.875 kB / 0.6825 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004606/0.2094, allocations: 47.83 kB / 0.6826 GB, free: 14 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001456/0.2096, allocations: 48.48 kB / 0.6826 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/0.2098, allocations: 90.33 kB / 0.6827 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002018/0.21, allocations: 156.3 kB / 0.6828 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.359e-05/0.2101, allocations: 8.219 kB / 0.6829 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.787e-05/0.2102, allocations: 65.52 kB / 0.6829 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.2104, allocations: 67.73 kB / 0.683 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.2104, allocations: 4 kB / 0.683 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.2105, allocations: 59.97 kB / 0.683 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.819e-05/0.2106, allocations: 47.78 kB / 0.6831 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.01e-05/0.2107, allocations: 55.64 kB / 0.6831 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.2109, allocations: 187.7 kB / 0.6833 GB, free: 13.23 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.211, allocations: 0 / 0.6833 GB, free: 13.23 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.211, allocations: 0 / 0.6833 GB, free: 13.23 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.211, allocations: 0 / 0.6833 GB, free: 13.23 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.0006046/0.2116, allocations: 462.7 kB / 0.6838 GB, free: 12.73 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.2116, allocations: 12.03 kB / 0.6838 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.164e-05/0.2117, allocations: 20.69 kB / 0.6838 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003185/0.212, allocations: 259.9 kB / 0.684 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.2121, allocations: 8.375 kB / 0.6841 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.2121, allocations: 8.125 kB / 0.6841 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/0.2123, allocations: 111.3 kB / 0.6842 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.2123, allocations: 3.984 kB / 0.6842 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.2124, allocations: 4 kB / 0.6842 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.2124, allocations: 4 kB / 0.6842 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002275/0.2126, allocations: 135.9 kB / 0.6843 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002603/0.2129, allocations: 245.3 kB / 0.6845 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003702/0.2133, allocations: 166.6 kB / 0.6847 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.2134, allocations: 60.77 kB / 0.6848 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.2134, allocations: 11.98 kB / 0.6848 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002995/0.2137, allocations: 111.4 kB / 0.6849 GB, free: 11.46 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.2137, allocations: 0 / 0.6849 GB, free: 11.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004842/0.2142, allocations: 221.4 kB / 0.6851 GB, free: 11.24 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.2143, allocations: 81.11 kB / 0.6852 GB, free: 11.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.2145, allocations: 202.9 kB / 0.6854 GB, free: 10.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.2145, allocations: 37.69 kB / 0.6854 GB, free: 10.89 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.594e-05/0.2146, allocations: 108.1 kB / 0.6855 GB, free: 10.78 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.61e-05/0.2147, allocations: 43.44 kB / 0.6855 GB, free: 10.74 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.393e-05/0.2147, allocations: 33.72 kB / 0.6856 GB, free: 10.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.2148, allocations: 330.8 kB / 0.6859 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.385e-05/0.2149, allocations: 43.98 kB / 0.6859 GB, free: 10.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.2151, allocations: 72.8 kB / 0.686 GB, free: 10.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.2153, allocations: 136.8 kB / 0.6861 GB, free: 10.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2153, allocations: 32 / 0.6861 GB, free: 10.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002949/0.2156, allocations: 201.3 kB / 0.6863 GB, free: 9.906 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.2156, allocations: 4 kB / 0.6863 GB, free: 9.902 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.2156, allocations: 4.109 kB / 0.6863 GB, free: 9.898 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.2156, allocations: 3.938 kB / 0.6863 GB, free: 9.895 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.2158, allocations: 23.98 kB / 0.6864 GB, free: 9.871 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.2158, allocations: 0 / 0.6864 GB, free: 9.871 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.528e-05/0.2158, allocations: 15.84 kB / 0.6864 GB, free: 9.855 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.2159, allocations: 4 kB / 0.6864 GB, free: 9.852 MB / 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.0001334/0.216, allocations: 155 kB / 0.6865 GB, free: 9.691 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.216, allocations: 15.81 kB / 0.6865 GB, free: 9.676 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.196e-05/0.2161, allocations: 21.52 kB / 0.6866 GB, free: 9.656 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.2161, allocations: 0 / 0.6866 GB, free: 9.656 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2161, allocations: 4 kB / 0.6866 GB, free: 9.652 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2161, allocations: 0 / 0.6866 GB, free: 9.652 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.2164, allocations: 241.4 kB / 0.6868 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2164, allocations: 0 / 0.6868 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.29e-05/0.2164, allocations: 19.98 kB / 0.6868 GB, free: 9.348 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.2164, allocations: 0 / 0.6868 GB, free: 9.348 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.2165, allocations: 12 kB / 0.6868 GB, free: 9.336 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2165, allocations: 0 / 0.6868 GB, free: 9.336 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2165, allocations: 0 / 0.6868 GB, free: 9.336 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003321/0.2168, allocations: 216.8 kB / 0.687 GB, free: 9.105 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/0.2169, allocations: 92.86 kB / 0.6871 GB, free: 8.996 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.2169, allocations: 4 kB / 0.6871 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.64e-05/0.217, allocations: 7.984 kB / 0.6871 GB, free: 8.984 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/0.217, allocations: 7.984 kB / 0.6871 GB, free: 8.977 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.217, allocations: 12 kB / 0.6871 GB, free: 8.965 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000124/0.2172, allocations: 156.2 kB / 0.6873 GB, free: 8.812 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2172, allocations: 0 / 0.6873 GB, free: 8.812 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.2175, allocations: 36 kB / 0.6873 GB, free: 8.777 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.001141/0.2186, allocations: 459.2 kB / 0.6878 GB, free: 8.496 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002684/0.2189, allocations: 123.9 kB / 0.6879 GB, free: 8.375 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2189, allocations: 4 kB / 0.6879 GB, free: 8.371 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.219, allocations: 55.92 kB / 0.6879 GB, free: 8.316 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.2193, allocations: 40.64 kB / 0.688 GB, free: 8.277 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005633/0.2199, allocations: 334.2 kB / 0.6883 GB, free: 7.926 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.2201, allocations: 0.7243 MB / 0.689 GB, free: 7.176 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001144/0.2203, allocations: 53.5 kB / 0.6891 GB, free: 7.125 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.887e-05/0.2203, allocations: 31.42 kB / 0.6891 GB, free: 7.094 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2203, allocations: 0 / 0.6891 GB, free: 7.094 MB / 494.1 MB Notification: Performance of Templates: time 0.005384/0.2257, allocations: 2.399 MB / 0.6914 GB, free: 4.742 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)