Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001526/0.001526, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001911/0.001911, allocations: 216.4 kB / 22.25 MB, free: 4.859 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.601/1.601, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.286/1.286, allocations: 203.8 MB / 0.5041 GB, free: 4.684 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests") translateModel(IDEAS.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests") [Timeout 660] "Notification: IDEAS 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.00217/0.00217, allocations: 59.91 kB / 0.7186 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7572/0.7594, allocations: 102 MB / 0.8182 GB, free: 28.88 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.003191/0.7626, allocations: 1.499 MB / 0.8197 GB, free: 27.87 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.7637, allocations: 0.4907 MB / 0.8202 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.165e-05/0.7638, allocations: 1.219 kB / 0.8202 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.7639, allocations: 5.438 kB / 0.8202 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 6.853e-05/0.764, allocations: 15.91 kB / 0.8202 GB, free: 27.53 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003561/0.7643, allocations: 46.86 kB / 0.8202 GB, free: 27.51 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.7646, allocations: 111.8 kB / 0.8203 GB, free: 27.45 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.7647, allocations: 5.469 kB / 0.8203 GB, free: 27.45 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002296/0.7649, allocations: 60.05 kB / 0.8204 GB, free: 27.43 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.7651, allocations: 35.19 kB / 0.8204 GB, free: 27.41 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.633e-05/0.7651, allocations: 8.75 kB / 0.8204 GB, free: 27.41 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 7.293e-05/0.7652, allocations: 17.3 kB / 0.8205 GB, free: 27.41 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.819e-05/0.7652, allocations: 15.64 kB / 0.8205 GB, free: 27.4 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 8.127e-05/0.7653, allocations: 36.44 kB / 0.8205 GB, free: 27.38 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.7655, allocations: 85.94 kB / 0.8206 GB, free: 27.35 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.7655, allocations: 0 / 0.8206 GB, free: 27.35 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.264e-06/0.7655, allocations: 0.8438 kB / 0.8206 GB, free: 27.35 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.7656, allocations: 0 / 0.8206 GB, free: 27.35 MB / 0.6387 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.0008847/0.7664, allocations: 378.3 kB / 0.8209 GB, free: 27 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.7665, allocations: 10.72 kB / 0.821 GB, free: 27 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/0.7667, allocations: 20.06 kB / 0.821 GB, free: 27 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.767, allocations: 147.5 kB / 0.8211 GB, free: 26.85 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.767, allocations: 4.594 kB / 0.8211 GB, free: 26.85 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.406e-05/0.767, allocations: 6.578 kB / 0.8211 GB, free: 26.85 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003978/0.7674, allocations: 149.4 kB / 0.8213 GB, free: 26.76 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.7674, allocations: 0 / 0.8213 GB, free: 26.76 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.7674, allocations: 5.906 kB / 0.8213 GB, free: 26.76 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.7675, allocations: 1.75 kB / 0.8213 GB, free: 26.76 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003757/0.7678, allocations: 116.7 kB / 0.8214 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006476/0.7685, allocations: 265.2 kB / 0.8216 GB, free: 26.48 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004591/0.7689, allocations: 125.4 kB / 0.8218 GB, free: 26.41 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002825/0.7692, allocations: 103 kB / 0.8219 GB, free: 26.36 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.7692, allocations: 1.156 kB / 0.8219 GB, free: 26.36 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004001/0.7696, allocations: 156.3 kB / 0.822 GB, free: 26.26 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.7696, allocations: 0 / 0.822 GB, free: 26.26 MB / 0.6387 GB Notification: Performance of matching and sorting (n=6): time 0.0008927/0.7705, allocations: 338.3 kB / 0.8223 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.7706, allocations: 82.33 kB / 0.8224 GB, free: 25.98 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.7707, allocations: 142.2 kB / 0.8225 GB, free: 25.86 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.7707, allocations: 36.48 kB / 0.8226 GB, free: 25.82 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.911e-05/0.7708, allocations: 93.73 kB / 0.8227 GB, free: 25.74 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.7708, allocations: 21.34 kB / 0.8227 GB, free: 25.72 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7e-05/0.7709, allocations: 35.69 kB / 0.8227 GB, free: 25.7 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.781e-05/0.771, allocations: 324.2 kB / 0.823 GB, free: 25.38 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/0.7712, allocations: 122.5 kB / 0.8232 GB, free: 25.3 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.7714, allocations: 125.9 kB / 0.8233 GB, free: 25.21 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000368/0.7718, allocations: 190.3 kB / 0.8235 GB, free: 25.08 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.7718, allocations: 0 / 0.8235 GB, free: 25.08 MB / 0.6387 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005708/0.7723, allocations: 319 kB / 0.8238 GB, free: 24.88 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.682e-05/0.7724, allocations: 62.12 kB / 0.8238 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.7724, allocations: 0.5156 kB / 0.8238 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.7724, allocations: 4.688 kB / 0.8238 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.7726, allocations: 22.47 kB / 0.8238 GB, free: 24.81 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.7726, allocations: 0 / 0.8238 GB, free: 24.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.7727, allocations: 24.8 kB / 0.8239 GB, free: 24.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.7728, allocations: 9.109 kB / 0.8239 GB, free: 24.8 MB / 0.6387 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 0.0001174/0.7729, allocations: 162 kB / 0.824 GB, free: 24.64 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.7729, allocations: 13.12 kB / 0.824 GB, free: 24.63 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.647e-05/0.7729, allocations: 15.66 kB / 0.8241 GB, free: 24.62 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.7729, allocations: 2.125 kB / 0.8241 GB, free: 24.62 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.7729, allocations: 0 / 0.8241 GB, free: 24.62 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.7729, allocations: 0 / 0.8241 GB, free: 24.62 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.7731, allocations: 128.5 kB / 0.8242 GB, free: 24.49 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.7731, allocations: 0 / 0.8242 GB, free: 24.49 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.744e-05/0.7732, allocations: 13.19 kB / 0.8242 GB, free: 24.49 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.7732, allocations: 0 / 0.8242 GB, free: 24.49 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.7732, allocations: 7.484 kB / 0.8242 GB, free: 24.48 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.7732, allocations: 2.219 kB / 0.8242 GB, free: 24.48 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.7732, allocations: 0.5938 kB / 0.8242 GB, free: 24.48 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005359/0.7737, allocations: 286 kB / 0.8245 GB, free: 24.31 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.7737, allocations: 7.328 kB / 0.8245 GB, free: 24.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/0.7738, allocations: 3.5 kB / 0.8245 GB, free: 24.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.7739, allocations: 19.39 kB / 0.8245 GB, free: 24.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/0.7741, allocations: 37.69 kB / 0.8245 GB, free: 24.29 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.7741, allocations: 4.172 kB / 0.8245 GB, free: 24.29 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.718e-05/0.7742, allocations: 107.8 kB / 0.8246 GB, free: 24.21 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7742, allocations: 4 kB / 0.8247 GB, free: 24.2 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002216/0.7744, allocations: 22.91 kB / 0.8247 GB, free: 24.2 MB / 0.6387 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 0.0001034/0.7745, allocations: 99.84 kB / 0.8248 GB, free: 24.11 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005932/0.7751, allocations: 348.3 kB / 0.8251 GB, free: 23.85 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.7751, allocations: 0 / 0.8251 GB, free: 23.85 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002668/0.7753, allocations: 161.1 kB / 0.8253 GB, free: 23.74 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.7756, allocations: 22.31 kB / 0.8253 GB, free: 23.73 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006067/0.7762, allocations: 264.3 kB / 0.8255 GB, free: 23.52 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.263e-05/0.7763, allocations: 77.17 kB / 0.8256 GB, free: 23.45 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 6.292e-05/0.7763, allocations: 17.22 kB / 0.8256 GB, free: 23.44 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.799e-05/0.7764, allocations: 16.7 kB / 0.8256 GB, free: 23.43 MB / 0.6387 GB Notification: Performance of SimCode: time 4.31e-07/0.7764, allocations: 0 / 0.8256 GB, free: 23.43 MB / 0.6387 GB Notification: Performance of Templates: time 0.006317/0.7827, allocations: 2.077 MB / 0.8277 GB, free: 23.21 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.48657825216651] Failed to read output from testmodel.py, exit status != 0: 0.7925905641168356 0.806631363 0.037980708 Calling exit ...