Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.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.000672/0.000672, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009365/0.001609, 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.0006804/0.0006804, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009001/0.00158, 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.9403/0.9403, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09177/1.032, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.001813/0.001813, allocations: 230.6 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001549/0.003362, allocations: 479.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.6703/0.6703, allocations: 138.7 MB / 384.3 MB, free: 352 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06713/0.7374, allocations: 42.41 MB / 426.7 MB, free: 5.812 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.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8") translateModel(BuildingSystems.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 428 MB, free: 4.5 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.274e-05, allocations: 2.312 kB / 428 MB, free: 4.496 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.001141/0.001163, allocations: 0.5792 MB / 428.6 MB, free: 3.914 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 4.58e-05/0.001209, allocations: 23.91 kB / 428.6 MB, free: 3.891 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.88e-05/0.001228, allocations: 3.938 kB / 428.6 MB, free: 3.887 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.759e-06/0.001233, allocations: 0 / 428.6 MB, free: 3.887 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.032e-05/0.001273, allocations: 0 / 428.6 MB, free: 3.887 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.597e-06/0.001277, allocations: 0 / 428.6 MB, free: 3.887 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.869e-05/0.001325, allocations: 8 kB / 428.7 MB, free: 3.879 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.046e-05/0.001356, allocations: 3.984 kB / 428.7 MB, free: 3.875 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.547e-05/0.001401, allocations: 15.92 kB / 428.7 MB, free: 3.859 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.128e-05/0.001443, allocations: 0 / 428.7 MB, free: 3.859 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.001463, allocations: 0 / 428.7 MB, free: 3.859 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.59e-06/0.001469, allocations: 7.938 kB / 428.7 MB, free: 3.852 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/0.001483, allocations: 0 / 428.7 MB, free: 3.852 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.113e-05/0.001494, allocations: 0 / 428.7 MB, free: 3.852 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 6.284e-05/0.001557, allocations: 3.938 kB / 428.7 MB, free: 3.848 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.329e-05/0.00157, allocations: 0 / 428.7 MB, free: 3.848 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.001571, allocations: 0 / 428.7 MB, free: 3.848 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.001584, allocations: 4 kB / 428.7 MB, free: 3.844 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002608/0.001844, allocations: 220.7 kB / 428.9 MB, free: 3.602 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.001882, allocations: 15.98 kB / 428.9 MB, free: 3.586 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.018e-05/0.001912, allocations: 0.9375 kB / 428.9 MB, free: 3.586 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.122e-05/0.001983, allocations: 105.8 kB / 429 MB, free: 3.457 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.001993, allocations: 384 / 429 MB, free: 3.457 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.268e-06/0.002003, allocations: 4.375 kB / 429 MB, free: 3.453 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.439e-05/0.002087, allocations: 47.97 kB / 429.1 MB, free: 3.395 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.002094, allocations: 192 / 429.1 MB, free: 3.395 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.63e-06/0.002099, allocations: 4.312 kB / 429.1 MB, free: 3.391 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.002105, allocations: 4.375 kB / 429.1 MB, free: 3.387 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.248e-05/0.002117, allocations: 7.938 kB / 429.1 MB, free: 3.379 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.494e-05/0.002192, allocations: 65.92 kB / 429.2 MB, free: 3.297 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.058e-05/0.002233, allocations: 41.17 kB / 429.2 MB, free: 3.238 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.293e-05/0.002246, allocations: 9.719 kB / 429.2 MB, free: 3.223 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.002263, allocations: 0 / 429.2 MB, free: 3.223 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.002285, allocations: 42.62 kB / 429.2 MB, free: 3.172 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 6.01e-07/0.002286, allocations: 0 / 429.2 MB, free: 3.172 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 8.836e-05/0.002374, allocations: 41.84 kB / 429.3 MB, free: 3.125 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.002405, allocations: 81.14 kB / 429.4 MB, free: 3.027 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.58e-05/0.002451, allocations: 94.72 kB / 429.5 MB, free: 2.922 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.184e-06/0.002458, allocations: 29.7 kB / 429.5 MB, free: 2.887 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.99e-05/0.002478, allocations: 80.14 kB / 429.6 MB, free: 2.805 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.002507, allocations: 3.953 kB / 429.6 MB, free: 2.801 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.201e-05/0.002529, allocations: 17.72 kB / 429.6 MB, free: 2.777 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.541e-05/0.002595, allocations: 318.8 kB / 429.9 MB, free: 2.457 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.081e-06/0.002601, allocations: 0 / 429.9 MB, free: 2.457 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.287e-05/0.002614, allocations: 21.64 kB / 429.9 MB, free: 2.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.298e-05/0.002637, allocations: 17.91 kB / 429.9 MB, free: 2.406 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.002638, allocations: 0 / 429.9 MB, free: 2.406 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.023e-05/0.002679, allocations: 41.62 kB / 430 MB, free: 2.359 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.002691, allocations: 11.91 kB / 430 MB, free: 2.348 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.002695, allocations: 3.938 kB / 430 MB, free: 2.344 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.002705, allocations: 0 / 430 MB, free: 2.344 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.233e-05/0.002768, allocations: 4 kB / 430 MB, free: 2.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.025e-06/0.002771, allocations: 0 / 430 MB, free: 2.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.02e-05/0.002781, allocations: 0 / 430 MB, free: 2.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.002787, allocations: 4.062 kB / 430 MB, free: 2.336 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 4.563e-05/0.002833, allocations: 113.8 kB / 430.1 MB, free: 2.215 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.207e-06/0.002837, allocations: 0 / 430.1 MB, free: 2.215 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.066e-05/0.002907, allocations: 48.62 kB / 430.2 MB, free: 2.164 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.002909, allocations: 0 / 430.2 MB, free: 2.164 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.002911, allocations: 3.984 kB / 430.2 MB, free: 2.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.002913, allocations: 4 kB / 430.2 MB, free: 2.156 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.724e-05/0.00296, allocations: 61.84 kB / 430.2 MB, free: 2.078 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.002962, allocations: 8.062 kB / 430.2 MB, free: 2.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.213e-05/0.002974, allocations: 0 / 430.2 MB, free: 2.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.216e-05/0.002996, allocations: 7.938 kB / 430.2 MB, free: 2.062 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.002998, allocations: 0 / 430.2 MB, free: 2.062 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-06/0.003003, allocations: 3.984 kB / 430.2 MB, free: 2.059 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.003006, allocations: 7.938 kB / 430.3 MB, free: 2.051 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.003007, allocations: 0 / 430.3 MB, free: 2.051 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.44e-05/0.003051, allocations: 65.94 kB / 430.3 MB, free: 1.965 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.74e-06/0.003057, allocations: 0 / 430.3 MB, free: 1.965 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.973e-06/0.003064, allocations: 3.984 kB / 430.3 MB, free: 1.961 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.418e-06/0.003073, allocations: 4 kB / 430.3 MB, free: 1.957 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.003075, allocations: 8.016 kB / 430.3 MB, free: 1.949 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.318e-06/0.003085, allocations: 8.844 kB / 430.3 MB, free: 1.938 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003085, allocations: 0 / 430.3 MB, free: 1.938 MB / 410.7 MB Notification: Performance of remove unused functions: time 8.707e-05/0.003172, allocations: 4 kB / 430.3 MB, free: 1.934 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 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 6.155e-05/0.003233, allocations: 72.42 kB / 430.4 MB, free: 1.855 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.157e-05/0.003285, allocations: 24.72 kB / 430.4 MB, free: 1.828 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.003289, allocations: 4 kB / 430.4 MB, free: 1.824 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.215e-05/0.003301, allocations: 13.14 kB / 430.5 MB, free: 1.809 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.583e-05/0.003357, allocations: 11.94 kB / 430.5 MB, free: 1.797 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001594/0.003517, allocations: 97.61 kB / 430.6 MB, free: 1.672 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.449e-05/0.003541, allocations: 51.36 kB / 430.6 MB, free: 1.602 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.714e-05/0.003558, allocations: 4 kB / 430.6 MB, free: 1.598 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.972e-05/0.003588, allocations: 51.31 kB / 430.7 MB, free: 1.547 MB / 410.7 MB Notification: Performance of SimCode: time 7.12e-07/0.003589, allocations: 0 / 430.7 MB, free: 1.547 MB / 410.7 MB Notification: Performance of Templates: time 0.001384/0.004972, allocations: 241.8 kB / 430.9 MB, free: 1.309 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.007101741619408]