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.0008444/0.0008444, allocations: 76.55 kB / 19.93 MB, free: 4.621 MB / 18.57 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.000876/0.000876, allocations: 177.9 kB / 23.22 MB, free: 1.332 MB / 18.57 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.8815/0.8815, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001468/0.001468, allocations: 237.5 kB / 260.2 MB, free: 13.01 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6548/0.6548, allocations: 138.4 MB / 455.1 MB, free: 30.02 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.452e-06/1.452e-06, allocations: 0 / 0.6475 GB, free: 1.414 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.213e-05/2.358e-05, allocations: 5.375 kB / 0.6475 GB, free: 1.41 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests): time 0.2205/0.2206, allocations: 1.48 MB / 0.6489 GB, free: 56.52 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0007029/0.2213, allocations: 0.4911 MB / 0.6494 GB, free: 56.48 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.951e-05/0.2213, allocations: 2.531 kB / 0.6494 GB, free: 56.48 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 8.431e-05/0.2214, allocations: 5.109 kB / 0.6494 GB, free: 56.47 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.219e-05/0.2215, allocations: 20.31 kB / 0.6494 GB, free: 56.47 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.2217, allocations: 48.48 kB / 0.6495 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.000152/0.2218, allocations: 101 kB / 0.6496 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.223e-05/0.2219, allocations: 9.734 kB / 0.6496 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.2221, allocations: 70.7 kB / 0.6496 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.872e-05/0.2222, allocations: 36.41 kB / 0.6497 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.2222, allocations: 8.906 kB / 0.6497 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 4.421e-05/0.2222, allocations: 13.02 kB / 0.6497 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.714e-05/0.2223, allocations: 14.09 kB / 0.6497 GB, free: 56.44 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.07e-05/0.2223, allocations: 36.7 kB / 0.6498 GB, free: 56.44 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.2225, allocations: 96.25 kB / 0.6498 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.2225, allocations: 0 / 0.6498 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2225, allocations: 0.6094 kB / 0.6498 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.2225, allocations: 2.625 kB / 0.6498 GB, free: 56.43 MB / 0.5573 GB 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.0004465/0.2229, allocations: 384.8 kB / 0.6502 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.223, allocations: 11.27 kB / 0.6502 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.2231, allocations: 20.52 kB / 0.6502 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.2233, allocations: 136.3 kB / 0.6504 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.2233, allocations: 5 kB / 0.6504 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.2233, allocations: 10.28 kB / 0.6504 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.2235, allocations: 145.3 kB / 0.6505 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.2235, allocations: 192 / 0.6505 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.2235, allocations: 6.891 kB / 0.6505 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2235, allocations: 3.438 kB / 0.6505 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.2237, allocations: 115.7 kB / 0.6506 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003204/0.224, allocations: 260.8 kB / 0.6509 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.2242, allocations: 130.9 kB / 0.651 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.2243, allocations: 98.47 kB / 0.6511 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.2243, allocations: 0.7812 kB / 0.6511 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001902/0.2245, allocations: 159.6 kB / 0.6513 GB, free: 55.47 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.2245, allocations: 3.984 kB / 0.6513 GB, free: 55.47 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6): time 0.0004269/0.225, allocations: 341.7 kB / 0.6516 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.225, allocations: 83.34 kB / 0.6517 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.382e-05/0.225, allocations: 130.2 kB / 0.6518 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.2251, allocations: 33.7 kB / 0.6518 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.47e-05/0.2251, allocations: 94.39 kB / 0.6519 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.422e-05/0.2251, allocations: 20.38 kB / 0.6519 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.2252, allocations: 32.84 kB / 0.652 GB, free: 55 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.967e-05/0.2252, allocations: 319.2 kB / 0.6523 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.2253, allocations: 125.6 kB / 0.6524 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.2254, allocations: 127.5 kB / 0.6525 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.2256, allocations: 187 kB / 0.6527 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2256, allocations: 0 / 0.6527 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002686/0.2258, allocations: 324.1 kB / 0.653 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.2259, allocations: 65.75 kB / 0.6531 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2259, allocations: 0.5 kB / 0.6531 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.2259, allocations: 7.25 kB / 0.6531 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.413e-05/0.2259, allocations: 18.39 kB / 0.6531 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.2259, allocations: 0 / 0.6531 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.211e-05/0.226, allocations: 26.11 kB / 0.6531 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.226, allocations: 6.609 kB / 0.6531 GB, free: 54.22 MB / 0.5573 GB 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 5.954e-05/0.2261, allocations: 150.4 kB / 0.6533 GB, free: 54.08 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/0.2261, allocations: 15.36 kB / 0.6533 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.139e-05/0.2261, allocations: 11.53 kB / 0.6533 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.2261, allocations: 2.766 kB / 0.6533 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.2261, allocations: 0.9688 kB / 0.6533 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.2261, allocations: 3.016 kB / 0.6533 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.227e-05/0.2262, allocations: 126.8 kB / 0.6534 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.2262, allocations: 0 / 0.6534 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.61e-05/0.2262, allocations: 19.59 kB / 0.6534 GB, free: 53.94 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2262, allocations: 0 / 0.6534 GB, free: 53.94 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.2262, allocations: 4.203 kB / 0.6534 GB, free: 53.94 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2262, allocations: 3.516 kB / 0.6534 GB, free: 53.94 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2262, allocations: 1.781 kB / 0.6534 GB, free: 53.94 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.2265, allocations: 278.2 kB / 0.6537 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.068e-05/0.2265, allocations: 15.31 kB / 0.6537 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.2265, allocations: 8.812 kB / 0.6537 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.743e-05/0.2266, allocations: 19.27 kB / 0.6538 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.602e-05/0.2267, allocations: 35.66 kB / 0.6538 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.2267, allocations: 12.78 kB / 0.6538 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.104e-05/0.2267, allocations: 101.2 kB / 0.6539 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2267, allocations: 0 / 0.6539 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001392/0.2268, allocations: 26.22 kB / 0.6539 GB, free: 53.71 MB / 0.5573 GB 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 7.045e-05/0.2269, allocations: 97.84 kB / 0.654 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002925/0.2272, allocations: 352.1 kB / 0.6544 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.2272, allocations: 0 / 0.6544 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.2273, allocations: 158.8 kB / 0.6545 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001527/0.2275, allocations: 18.66 kB / 0.6545 GB, free: 53.24 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003306/0.2278, allocations: 277.6 kB / 0.6548 GB, free: 53.03 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.712e-05/0.2278, allocations: 81.7 kB / 0.6549 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.399e-05/0.2279, allocations: 17 kB / 0.6549 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of SimCode: time 6.71e-07/0.2279, allocations: 0 / 0.6549 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of Templates: time 0.002192/0.2301, allocations: 1.491 MB / 0.6563 GB, free: 52.85 MB / 0.5573 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.025763928890228] Failed to read output from testmodel.py, exit status != 0: 0.23517402913421392 0.242277545 0.018294864 Calling exit ...