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.000848/0.0008479, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.0008955/0.0008953, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001685/0.001685, allocations: 267 kB / 291.4 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9661/0.9661, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000461/0.000461, allocations: 14.72 kB / 0.598 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2069, allocations: 88.55 MB / 0.6845 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.001941/0.2089, allocations: 1.324 MB / 0.6858 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.2108, allocations: 1.369 MB / 0.6871 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.799e-05/0.2109, allocations: 0 / 0.6871 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004008/0.2113, allocations: 55.81 kB / 0.6872 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.2114, allocations: 40.33 kB / 0.6872 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.2117, allocations: 91.39 kB / 0.6873 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.2119, allocations: 139.6 kB / 0.6874 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.494e-05/0.2119, allocations: 14.05 kB / 0.6875 GB, free: 12.4 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.375e-05/0.212, allocations: 55.78 kB / 0.6875 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.2122, allocations: 63.8 kB / 0.6876 GB, free: 12.28 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.2122, allocations: 4 kB / 0.6876 GB, free: 12.28 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.2123, allocations: 56.61 kB / 0.6876 GB, free: 12.22 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.909e-05/0.2124, allocations: 39.89 kB / 0.6877 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.924e-05/0.2125, allocations: 42.83 kB / 0.6877 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.2127, allocations: 143.9 kB / 0.6878 GB, free: 12 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2127, allocations: 0 / 0.6878 GB, free: 12 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2127, allocations: 1.656 kB / 0.6878 GB, free: 12 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.2127, allocations: 4 kB / 0.6879 GB, free: 11.99 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.0005524/0.2133, allocations: 445.8 kB / 0.6883 GB, free: 11.51 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.2133, allocations: 12.03 kB / 0.6883 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.075e-05/0.2134, allocations: 19.77 kB / 0.6883 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.2137, allocations: 244.3 kB / 0.6885 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.2137, allocations: 11.92 kB / 0.6886 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.2137, allocations: 12 kB / 0.6886 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.214, allocations: 116 kB / 0.6887 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.214, allocations: 0.5 kB / 0.6887 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.214, allocations: 6.766 kB / 0.6887 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.214, allocations: 0 / 0.6887 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002315/0.2143, allocations: 143.8 kB / 0.6888 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002729/0.2146, allocations: 237.4 kB / 0.689 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003527/0.2149, allocations: 168.3 kB / 0.6892 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.215, allocations: 52.83 kB / 0.6893 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.2151, allocations: 7.938 kB / 0.6893 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00029/0.2154, allocations: 113.1 kB / 0.6894 GB, free: 10.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.2154, allocations: 3.938 kB / 0.6894 GB, free: 10.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004766/0.2159, allocations: 218.3 kB / 0.6896 GB, free: 10.05 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.925e-05/0.2159, allocations: 85.09 kB / 0.6897 GB, free: 9.949 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.2162, allocations: 207.6 kB / 0.6899 GB, free: 9.734 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.2162, allocations: 34.33 kB / 0.6899 GB, free: 9.695 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.424e-05/0.2163, allocations: 113.5 kB / 0.69 GB, free: 9.582 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.153e-05/0.2163, allocations: 43.45 kB / 0.69 GB, free: 9.539 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.663e-06/0.2164, allocations: 0 / 0.69 GB, free: 9.539 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.2165, allocations: 330.8 kB / 0.6904 GB, free: 9.207 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.242e-05/0.2166, allocations: 48.62 kB / 0.6904 GB, free: 9.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.2167, allocations: 76.52 kB / 0.6905 GB, free: 9.078 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.2168, allocations: 58.48 kB / 0.6905 GB, free: 9.023 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2168, allocations: 0 / 0.6905 GB, free: 9.023 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003169/0.2172, allocations: 189.4 kB / 0.6907 GB, free: 8.832 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.2172, allocations: 10.03 kB / 0.6907 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.2172, allocations: 0 / 0.6907 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.2172, allocations: 0 / 0.6907 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.2174, allocations: 28.05 kB / 0.6908 GB, free: 8.797 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.2174, allocations: 4 kB / 0.6908 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.819e-05/0.2174, allocations: 15.8 kB / 0.6908 GB, free: 8.777 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.2175, allocations: 8 kB / 0.6908 GB, free: 8.77 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001302/0.2176, allocations: 134.4 kB / 0.6909 GB, free: 8.629 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.2176, allocations: 15.81 kB / 0.6909 GB, free: 8.613 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.114e-05/0.2177, allocations: 25.52 kB / 0.6909 GB, free: 8.59 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2177, allocations: 4 kB / 0.6909 GB, free: 8.586 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.2177, allocations: 4 kB / 0.691 GB, free: 8.582 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.2177, allocations: 3.984 kB / 0.691 GB, free: 8.578 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.218, allocations: 237.4 kB / 0.6912 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.218, allocations: 0 / 0.6912 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.308e-05/0.218, allocations: 20 kB / 0.6912 GB, free: 8.277 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.218, allocations: 0 / 0.6912 GB, free: 8.277 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.2181, allocations: 7.984 kB / 0.6912 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2181, allocations: 0 / 0.6912 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.2181, allocations: 0 / 0.6912 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003244/0.2184, allocations: 220.8 kB / 0.6914 GB, free: 8.035 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.26e-05/0.2185, allocations: 96.86 kB / 0.6915 GB, free: 7.922 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/0.2185, allocations: 8 kB / 0.6915 GB, free: 7.914 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.109e-05/0.2186, allocations: 3.984 kB / 0.6915 GB, free: 7.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.2186, allocations: 19.97 kB / 0.6915 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.2187, allocations: 4 kB / 0.6915 GB, free: 7.887 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001323/0.2188, allocations: 152.2 kB / 0.6917 GB, free: 7.738 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2188, allocations: 0 / 0.6917 GB, free: 7.738 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002386/0.219, allocations: 43.94 kB / 0.6917 GB, free: 7.695 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001123/0.2202, allocations: 456.2 kB / 0.6922 GB, free: 7.418 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002675/0.2205, allocations: 127.9 kB / 0.6923 GB, free: 7.293 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2205, allocations: 4.062 kB / 0.6923 GB, free: 7.289 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.2206, allocations: 59.92 kB / 0.6924 GB, free: 7.23 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.2209, allocations: 36.67 kB / 0.6924 GB, free: 7.195 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000539/0.2214, allocations: 318.1 kB / 0.6927 GB, free: 6.855 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.2217, allocations: 0.7166 MB / 0.6934 GB, free: 6.113 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001203/0.2218, allocations: 57.48 kB / 0.6934 GB, free: 6.059 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.07e-05/0.2219, allocations: 27.42 kB / 0.6935 GB, free: 6.031 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2219, allocations: 4 kB / 0.6935 GB, free: 6.027 MB / 494.1 MB Notification: Performance of Templates: time 0.005264/0.2272, allocations: 2.321 MB / 0.6957 GB, free: 3.762 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)