Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001613/0.002715, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001595/0.002964, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9408/0.9408, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08597/1.027, allocations: 53.68 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001606/0.001606, allocations: 224.1 kB / 244.4 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001611/0.003217, allocations: 475.6 kB / 244.8 MB, free: 14.06 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7138/0.7138, allocations: 138.7 MB / 384.3 MB, free: 352 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06736/0.7811, allocations: 42.4 MB / 426.7 MB, free: 5.828 MB / 410.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") translateModel(BuildingSystems.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 428 MB, free: 4.504 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.291e-05, allocations: 2.312 kB / 428 MB, free: 4.5 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.001736/0.001759, allocations: 0.5908 MB / 428.6 MB, free: 3.906 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 9.25e-05/0.001852, allocations: 47.8 kB / 428.7 MB, free: 3.859 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.572e-05/0.001887, allocations: 0 / 428.7 MB, free: 3.859 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.795e-05/0.001905, allocations: 4 kB / 428.7 MB, free: 3.855 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.416e-05/0.001959, allocations: 0 / 428.7 MB, free: 3.855 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.245e-05/0.002002, allocations: 11.88 kB / 428.7 MB, free: 3.844 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.321e-05/0.002065, allocations: 23.91 kB / 428.7 MB, free: 3.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.128e-05/0.002096, allocations: 0 / 428.7 MB, free: 3.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.997e-05/0.002166, allocations: 4 kB / 428.7 MB, free: 3.816 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.084e-05/0.002247, allocations: 15.92 kB / 428.7 MB, free: 3.801 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.002267, allocations: 0 / 428.7 MB, free: 3.801 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.765e-06/0.002275, allocations: 0 / 428.7 MB, free: 3.801 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.774e-05/0.002313, allocations: 4 kB / 428.7 MB, free: 3.797 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.085e-05/0.002334, allocations: 4 kB / 428.7 MB, free: 3.793 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 6.993e-05/0.002404, allocations: 11.92 kB / 428.8 MB, free: 3.781 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.052e-05/0.002414, allocations: 0 / 428.8 MB, free: 3.781 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.002415, allocations: 0 / 428.8 MB, free: 3.781 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.002425, allocations: 4 kB / 428.8 MB, free: 3.777 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003297/0.002755, allocations: 236.6 kB / 429 MB, free: 3.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.002792, allocations: 15.98 kB / 429 MB, free: 3.504 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.723e-05/0.002819, allocations: 0.9375 kB / 429 MB, free: 3.504 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.002948, allocations: 113.7 kB / 429.1 MB, free: 3.367 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.475e-06/0.002956, allocations: 4.375 kB / 429.1 MB, free: 3.363 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.002973, allocations: 4.312 kB / 429.1 MB, free: 3.359 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.135e-05/0.003034, allocations: 29.09 kB / 429.2 MB, free: 3.324 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.022e-06/0.00304, allocations: 192 / 429.2 MB, free: 3.324 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-06/0.003046, allocations: 4.375 kB / 429.2 MB, free: 3.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.003052, allocations: 4.375 kB / 429.2 MB, free: 3.316 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.896e-06/0.003061, allocations: 3.938 kB / 429.2 MB, free: 3.312 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.711e-05/0.003138, allocations: 67.86 kB / 429.2 MB, free: 3.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.34e-05/0.003171, allocations: 14.58 kB / 429.2 MB, free: 3.207 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.204e-05/0.003183, allocations: 12.8 kB / 429.3 MB, free: 3.191 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.879e-06/0.003193, allocations: 96 / 429.3 MB, free: 3.191 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.003214, allocations: 34.56 kB / 429.3 MB, free: 3.148 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 7.12e-07/0.003214, allocations: 0 / 429.3 MB, free: 3.148 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 9.236e-05/0.003307, allocations: 29.83 kB / 429.3 MB, free: 3.113 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.003335, allocations: 59.39 kB / 429.4 MB, free: 3.043 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.033e-05/0.003405, allocations: 106.7 kB / 429.5 MB, free: 2.926 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.003415, allocations: 25.7 kB / 429.5 MB, free: 2.895 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.932e-05/0.003444, allocations: 88.12 kB / 429.6 MB, free: 2.805 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.003465, allocations: 7.953 kB / 429.6 MB, free: 2.797 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.003493, allocations: 17.7 kB / 429.6 MB, free: 2.773 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.424e-05/0.003577, allocations: 314.8 kB / 429.9 MB, free: 2.457 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.095e-05/0.003588, allocations: 6.766 kB / 429.9 MB, free: 2.449 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.456e-05/0.003603, allocations: 17.66 kB / 430 MB, free: 2.426 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.791e-05/0.003641, allocations: 24.59 kB / 430 MB, free: 2.395 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.003643, allocations: 0 / 430 MB, free: 2.395 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.136e-05/0.003694, allocations: 40.47 kB / 430 MB, free: 2.348 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.003707, allocations: 7.906 kB / 430 MB, free: 2.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.00371, allocations: 4 kB / 430 MB, free: 2.336 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.003723, allocations: 3.984 kB / 430 MB, free: 2.332 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.243e-05/0.003775, allocations: 4 kB / 430 MB, free: 2.328 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.003778, allocations: 0 / 430 MB, free: 2.328 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.71e-05/0.003795, allocations: 3.938 kB / 430 MB, free: 2.324 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.003801, allocations: 4.062 kB / 430 MB, free: 2.32 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.82e-05/0.003859, allocations: 120.6 kB / 430.2 MB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.542e-06/0.003865, allocations: 0 / 430.2 MB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.491e-05/0.00394, allocations: 45.09 kB / 430.2 MB, free: 2.145 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.003942, allocations: 0 / 430.2 MB, free: 2.145 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.003943, allocations: 0 / 430.2 MB, free: 2.145 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.003946, allocations: 0 / 430.2 MB, free: 2.145 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.11e-05/0.004017, allocations: 73.81 kB / 430.3 MB, free: 2.055 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.004018, allocations: 0 / 430.3 MB, free: 2.055 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.446e-05/0.004053, allocations: 4 kB / 430.3 MB, free: 2.051 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.521e-05/0.004068, allocations: 12.02 kB / 430.3 MB, free: 2.039 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.00407, allocations: 0 / 430.3 MB, free: 2.039 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.004077, allocations: 0 / 430.3 MB, free: 2.039 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.004078, allocations: 0 / 430.3 MB, free: 2.039 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.00408, allocations: 3.984 kB / 430.3 MB, free: 2.035 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.032e-05/0.00417, allocations: 78.66 kB / 430.4 MB, free: 1.938 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.004181, allocations: 256 / 430.4 MB, free: 1.938 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.331e-05/0.004194, allocations: 4 kB / 430.4 MB, free: 1.934 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.031e-05/0.004205, allocations: 0 / 430.4 MB, free: 1.934 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.004207, allocations: 4 kB / 430.4 MB, free: 1.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.687e-05/0.004224, allocations: 12.92 kB / 430.4 MB, free: 1.914 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.004224, allocations: 0 / 430.4 MB, free: 1.914 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001607/0.004384, allocations: 4 kB / 430.4 MB, free: 1.91 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 7.343e-05/0.004458, allocations: 80.39 kB / 430.5 MB, free: 1.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.429e-05/0.004522, allocations: 20.8 kB / 430.5 MB, free: 1.797 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.004527, allocations: 4 kB / 430.5 MB, free: 1.793 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.656e-05/0.004543, allocations: 8.859 kB / 430.5 MB, free: 1.781 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.833e-05/0.004622, allocations: 12.2 kB / 430.5 MB, free: 1.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002414/0.004863, allocations: 119.4 kB / 430.6 MB, free: 1.625 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.488e-05/0.004898, allocations: 55.36 kB / 430.7 MB, free: 1.551 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.813e-05/0.004916, allocations: 3.984 kB / 430.7 MB, free: 1.547 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.574e-05/0.004962, allocations: 51.38 kB / 430.7 MB, free: 1.496 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.004962, allocations: 0 / 430.7 MB, free: 1.496 MB / 410.7 MB Notification: Performance of Templates: time 0.001961/0.006924, allocations: 366.9 kB / 431.1 MB, free: 1.137 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.031943083740771]