Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.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.0009931/0.0009931, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001379/0.002372, allocations: 435.8 kB / 10.33 MB, free: 368 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.0008351/0.0008351, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009797/0.001815, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.8893/0.8893, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07469/0.964, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.001926/0.001926, allocations: 238.2 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001516/0.003443, allocations: 475.1 kB / 244.7 MB, free: 14.18 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.7202/0.7202, allocations: 138.7 MB / 384.1 MB, free: 492 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06326/0.7834, allocations: 42.4 MB / 426.5 MB, free: 5.938 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.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests") translateModel(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 427.7 MB, free: 4.668 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.947e-06/1.037e-05, allocations: 2.312 kB / 427.7 MB, free: 4.664 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests): time 0.002298/0.002309, allocations: 1.579 MB / 429.3 MB, free: 3.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007496/0.003058, allocations: 0.5181 MB / 429.8 MB, free: 2.547 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.536e-05/0.003114, allocations: 7.938 kB / 429.8 MB, free: 2.539 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.787e-05/0.003161, allocations: 3.938 kB / 429.9 MB, free: 2.535 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.745e-05/0.003209, allocations: 15.86 kB / 429.9 MB, free: 2.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000178/0.003387, allocations: 47.81 kB / 429.9 MB, free: 2.473 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.003557, allocations: 103.7 kB / 430 MB, free: 2.371 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.033e-05/0.003637, allocations: 16.17 kB / 430 MB, free: 2.355 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.003844, allocations: 71.81 kB / 430.1 MB, free: 2.285 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.86e-05/0.003923, allocations: 39.88 kB / 430.1 MB, free: 2.246 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.003946, allocations: 12 kB / 430.2 MB, free: 2.234 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.593e-05/0.004002, allocations: 15.94 kB / 430.2 MB, free: 2.219 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.225e-05/0.004035, allocations: 11.94 kB / 430.2 MB, free: 2.207 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.875e-05/0.004083, allocations: 23.94 kB / 430.2 MB, free: 2.184 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.004223, allocations: 63.81 kB / 430.3 MB, free: 2.121 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.458e-05/0.004238, allocations: 0 / 430.3 MB, free: 2.121 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004239, allocations: 0 / 430.3 MB, free: 2.121 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.595e-05/0.004255, allocations: 0 / 430.3 MB, free: 2.121 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005272/0.004782, allocations: 367.7 kB / 430.6 MB, free: 1.727 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.913e-05/0.004811, allocations: 15.98 kB / 430.6 MB, free: 1.711 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.004963, allocations: 98.03 kB / 430.7 MB, free: 1.598 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.005117, allocations: 133.7 kB / 430.9 MB, free: 1.441 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.00513, allocations: 4.375 kB / 430.9 MB, free: 1.438 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.005145, allocations: 4.375 kB / 430.9 MB, free: 1.434 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.00535, allocations: 136.5 kB / 431 MB, free: 1.285 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.005357, allocations: 192 / 431 MB, free: 1.285 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.005369, allocations: 8.125 kB / 431 MB, free: 1.277 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.005374, allocations: 0 / 431 MB, free: 1.277 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.687e-05/0.005441, allocations: 53.69 kB / 431.1 MB, free: 1.219 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002956/0.005737, allocations: 191 kB / 431.3 MB, free: 1.016 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.005842, allocations: 76.2 kB / 431.3 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.559e-05/0.005897, allocations: 58.67 kB / 431.4 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.005908, allocations: 0 / 431.4 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/0.006059, allocations: 121 kB / 431.5 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.006061, allocations: 0 / 431.5 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002195/0.00628, allocations: 194.7 kB / 431.7 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.006315, allocations: 59.39 kB / 431.8 MB, free: 448 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.702e-05/0.006392, allocations: 130.7 kB / 431.9 MB, free: 304 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.006414, allocations: 37.69 kB / 431.9 MB, free: 260 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.395e-05/0.006458, allocations: 96.02 kB / 432 MB, free: 160 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.006479, allocations: 19.89 kB / 432 MB, free: 140 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.295e-05/0.006532, allocations: 29.7 kB / 432.1 MB, free: 104 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.2064/0.2129, allocations: 319.5 kB / 432.4 MB, free: 2.504 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.2131, allocations: 77.05 kB / 432.4 MB, free: 2.441 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.079e-05/0.2132, allocations: 82.78 kB / 432.5 MB, free: 2.379 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.2133, allocations: 139.9 kB / 432.7 MB, free: 2.273 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2133, allocations: 0 / 432.7 MB, free: 2.273 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002034/0.2135, allocations: 209.8 kB / 432.9 MB, free: 2.117 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.639e-05/0.2135, allocations: 63.91 kB / 432.9 MB, free: 2.055 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2136, allocations: 2.562 kB / 432.9 MB, free: 2.055 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.2136, allocations: 0.7812 kB / 432.9 MB, free: 2.055 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.2137, allocations: 18.72 kB / 433 MB, free: 2.055 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.546e-06/0.2137, allocations: 1.188 kB / 433 MB, free: 2.055 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.2138, allocations: 19.02 kB / 433 MB, free: 2.055 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.2138, allocations: 7.953 kB / 433 MB, free: 2.055 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,numReq.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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 8.922e-05/0.2139, allocations: 154.3 kB / 433.1 MB, free: 1.906 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.2139, allocations: 14.56 kB / 433.1 MB, free: 1.906 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.148e-05/0.214, allocations: 11.28 kB / 433.2 MB, free: 1.902 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.214, allocations: 0.8125 kB / 433.2 MB, free: 1.902 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.214, allocations: 7.031 kB / 433.2 MB, free: 1.898 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.214, allocations: 3.516 kB / 433.2 MB, free: 1.898 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.2141, allocations: 80.53 kB / 433.2 MB, free: 1.824 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.2141, allocations: 2.5 kB / 433.3 MB, free: 1.824 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.074e-05/0.2141, allocations: 15.56 kB / 433.3 MB, free: 1.824 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.766e-05/0.2142, allocations: 10 kB / 433.3 MB, free: 1.824 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2142, allocations: 1.688 kB / 433.3 MB, free: 1.824 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.2142, allocations: 3.062 kB / 433.3 MB, free: 1.824 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.2142, allocations: 1.125 kB / 433.3 MB, free: 1.824 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2142, allocations: 8.5 kB / 433.3 MB, free: 1.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.2144, allocations: 167.4 kB / 433.5 MB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.2144, allocations: 8.812 kB / 433.5 MB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.492e-05/0.2145, allocations: 16.38 kB / 433.5 MB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.2146, allocations: 34.23 kB / 433.5 MB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.2146, allocations: 5.391 kB / 433.5 MB, free: 1.695 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.393e-05/0.2146, allocations: 28.64 kB / 433.5 MB, free: 1.684 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2146, allocations: 2.281 kB / 433.5 MB, free: 1.684 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001916/0.2148, allocations: 20.11 kB / 433.6 MB, free: 1.684 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 9.198e-05/0.2149, allocations: 91.42 kB / 433.7 MB, free: 1.617 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002154/0.2151, allocations: 272.3 kB / 433.9 MB, free: 1.391 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/0.2151, allocations: 2.328 kB / 433.9 MB, free: 1.391 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.2152, allocations: 129 kB / 434 MB, free: 1.289 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003213/0.2185, allocations: 27.55 kB / 434.1 MB, free: 1.289 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.2196, allocations: 249.5 kB / 434.3 MB, free: 1.129 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.713e-05/0.2196, allocations: 60.33 kB / 434.4 MB, free: 1.059 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.639e-05/0.2197, allocations: 7.047 kB / 434.4 MB, free: 1.059 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.2198, allocations: 77.66 kB / 434.5 MB, free: 1.016 MB / 410.7 MB Notification: Performance of SimCode: time 1.312e-06/0.2198, allocations: 2.281 kB / 434.5 MB, free: 1.016 MB / 410.7 MB Notification: Performance of Templates: time 0.003709/0.2235, allocations: 2.1 MB / 436.6 MB, free: 0.9609 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2125238440930843]