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.001337/0.001337, allocations: 77.7 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001373/0.001373, allocations: 158.1 kB / 23.01 MB, free: 4.945 MB / 14.72 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 1.412/1.412, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] 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.002492/0.002492, allocations: 234.3 kB / 260 MB, free: 452 kB / 238.1 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.9306/0.9306, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003085/0.003085, allocations: 103.8 kB / 0.6473 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3882, allocations: 95.34 MB / 0.7404 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests): time 0.002234/0.3904, allocations: 1.485 MB / 0.7419 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0007565/0.3912, allocations: 0.4958 MB / 0.7424 GB, free: 16.06 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.559e-05/0.3912, allocations: 1.438 kB / 0.7424 GB, free: 16.06 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 8.281e-05/0.3913, allocations: 5.203 kB / 0.7424 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.554e-05/0.3913, allocations: 15.98 kB / 0.7424 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002204/0.3916, allocations: 45.38 kB / 0.7424 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.3917, allocations: 103.1 kB / 0.7425 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 8.87e-05/0.3918, allocations: 14.31 kB / 0.7425 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.392, allocations: 51.45 kB / 0.7426 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.232e-05/0.392, allocations: 37.66 kB / 0.7426 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.3921, allocations: 7.969 kB / 0.7426 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 4.298e-05/0.3921, allocations: 19.22 kB / 0.7426 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.785e-05/0.3921, allocations: 10.08 kB / 0.7427 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.779e-05/0.3922, allocations: 36.89 kB / 0.7427 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.3923, allocations: 90.95 kB / 0.7428 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3923, allocations: 0 / 0.7428 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3923, allocations: 0 / 0.7428 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.3924, allocations: 5.094 kB / 0.7428 GB, free: 15.86 MB / 0.5919 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.0005538/0.3929, allocations: 384.2 kB / 0.7431 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.3929, allocations: 11.22 kB / 0.7432 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/0.3931, allocations: 23.84 kB / 0.7432 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.3933, allocations: 129.8 kB / 0.7433 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.3933, allocations: 3.938 kB / 0.7433 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.3933, allocations: 11.86 kB / 0.7433 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003067/0.3936, allocations: 154.6 kB / 0.7435 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.3936, allocations: 0 / 0.7435 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.3936, allocations: 3.234 kB / 0.7435 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3936, allocations: 4.953 kB / 0.7435 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003155/0.3939, allocations: 123.5 kB / 0.7436 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004235/0.3944, allocations: 258.1 kB / 0.7438 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003341/0.3947, allocations: 129.1 kB / 0.744 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.3949, allocations: 97.08 kB / 0.7441 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.3949, allocations: 1.281 kB / 0.7441 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002803/0.3952, allocations: 161.6 kB / 0.7442 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=6): time 1.793e-06/0.3952, allocations: 0 / 0.7442 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of matching and sorting (n=6): time 0.0007014/0.3959, allocations: 336.7 kB / 0.7445 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.3959, allocations: 86.83 kB / 0.7446 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.043e-05/0.396, allocations: 127.8 kB / 0.7447 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.396, allocations: 34.06 kB / 0.7448 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.509e-05/0.396, allocations: 101.2 kB / 0.7449 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.3961, allocations: 13.09 kB / 0.7449 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.416e-05/0.3961, allocations: 31.59 kB / 0.7449 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.652e-05/0.3961, allocations: 325.1 kB / 0.7452 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.3964, allocations: 125.3 kB / 0.7453 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.3966, allocations: 136 kB / 0.7455 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003201/0.3969, allocations: 181.7 kB / 0.7456 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3969, allocations: 1.375 kB / 0.7456 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004796/0.3974, allocations: 326.9 kB / 0.746 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/0.3974, allocations: 65.08 kB / 0.746 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.3974, allocations: 1.453 kB / 0.746 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.3974, allocations: 0 / 0.746 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.3975, allocations: 18.45 kB / 0.746 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.3975, allocations: 5.359 kB / 0.746 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.3977, allocations: 24.53 kB / 0.7461 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.3977, allocations: 3.406 kB / 0.7461 GB, free: 13.28 MB / 0.5919 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 7.583e-05/0.3978, allocations: 161 kB / 0.7462 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.082e-05/0.3978, allocations: 10.62 kB / 0.7462 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.829e-05/0.3978, allocations: 13.17 kB / 0.7462 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.3978, allocations: 0 / 0.7462 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3978, allocations: 1.375 kB / 0.7462 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3978, allocations: 0 / 0.7462 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.802e-05/0.3979, allocations: 130.8 kB / 0.7464 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3979, allocations: 1.078 kB / 0.7464 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.737e-05/0.398, allocations: 16.47 kB / 0.7464 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.398, allocations: 1.375 kB / 0.7464 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.398, allocations: 10.25 kB / 0.7464 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.398, allocations: 1.375 kB / 0.7464 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.398, allocations: 0 / 0.7464 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000471/0.3985, allocations: 280 kB / 0.7467 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 1.456e-05/0.3985, allocations: 7.547 kB / 0.7467 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.3985, allocations: 4.25 kB / 0.7467 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.3987, allocations: 18.66 kB / 0.7467 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.3988, allocations: 40.2 kB / 0.7467 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.3988, allocations: 4.141 kB / 0.7467 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.271e-05/0.3988, allocations: 104.7 kB / 0.7468 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.3988, allocations: 0 / 0.7468 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002157/0.399, allocations: 22.8 kB / 0.7469 GB, free: 12.68 MB / 0.5919 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 6.516e-05/0.3991, allocations: 101.5 kB / 0.747 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004842/0.3996, allocations: 356.6 kB / 0.7473 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3996, allocations: 4 kB / 0.7473 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.3998, allocations: 159.9 kB / 0.7474 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.4, allocations: 17.48 kB / 0.7475 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000442/0.4005, allocations: 253.7 kB / 0.7477 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.667e-05/0.4005, allocations: 78.81 kB / 0.7478 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.728e-05/0.4006, allocations: 14.95 kB / 0.7478 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.506e-05/0.4006, allocations: 13.31 kB / 0.7478 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of SimCode: time 3.2e-07/0.4006, allocations: 3.938 kB / 0.7478 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of Templates: time 0.004827/0.4054, allocations: 2.019 MB / 0.7498 GB, free: 11.71 MB / 0.5919 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.875763600924984] Failed to read output from testmodel.py, exit status != 0: 0.4126751369331032 0.42330970700000004 0.028569495 Calling exit ...