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.0008955/0.0008955, allocations: 117.6 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.0009427/0.0009427, allocations: 215.9 kB / 23.01 MB, free: 3.098 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 1.013/1.013, allocations: 230.6 MB / 256.8 MB, free: 9.801 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7591/0.7591, allocations: 203.8 MB / 0.5049 GB, free: 10.74 MB / 410.7 MB " [Timeout remaining time 179] 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.0009773/0.0009773, allocations: 65.98 kB / 0.7194 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6176/0.6186, allocations: 102 MB / 0.8191 GB, free: 1.547 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002055/0.6207, allocations: 1.505 MB / 0.8205 GB, free: 0.5 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007407/0.6214, allocations: 0.5369 MB / 0.821 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.494e-05/0.6215, allocations: 0 / 0.821 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.6216, allocations: 11.77 kB / 0.8211 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.646e-05/0.6217, allocations: 17.31 kB / 0.8211 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002984/0.622, allocations: 43.45 kB / 0.8211 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.6221, allocations: 102.9 kB / 0.8212 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.6222, allocations: 15.27 kB / 0.8212 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.6224, allocations: 62.19 kB / 0.8213 GB, free: 0 / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.6225, allocations: 37.08 kB / 0.8213 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.6226, allocations: 9.125 kB / 0.8213 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.254e-05/0.6226, allocations: 13.94 kB / 0.8213 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.707e-05/0.6227, allocations: 11.94 kB / 0.8214 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.036e-05/0.6227, allocations: 46.06 kB / 0.8214 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.6229, allocations: 91.39 kB / 0.8215 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.6229, allocations: 0 / 0.8215 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6229, allocations: 0 / 0.8215 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.6229, allocations: 4 kB / 0.8215 GB, free: 15.9 MB / 0.6198 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.0007307/0.6237, allocations: 381.7 kB / 0.8219 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.6237, allocations: 9.25 kB / 0.8219 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/0.6238, allocations: 18.77 kB / 0.8219 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.6241, allocations: 138.3 kB / 0.822 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.6241, allocations: 8.484 kB / 0.822 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.6241, allocations: 8.938 kB / 0.822 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002467/0.6244, allocations: 122.9 kB / 0.8222 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.6244, allocations: 0.7031 kB / 0.8222 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.6244, allocations: 2.031 kB / 0.8222 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.6244, allocations: 5 kB / 0.8222 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.6246, allocations: 86 kB / 0.8222 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004577/0.625, allocations: 306 kB / 0.8225 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.6253, allocations: 93.97 kB / 0.8226 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.6254, allocations: 63.62 kB / 0.8227 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.6254, allocations: 8.062 kB / 0.8227 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000221/0.6256, allocations: 124.9 kB / 0.8228 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 3.166e-06/0.6256, allocations: 3.984 kB / 0.8228 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0004917/0.6261, allocations: 271.7 kB / 0.8231 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.6262, allocations: 90.69 kB / 0.8232 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.6263, allocations: 141.1 kB / 0.8233 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.6263, allocations: 28.3 kB / 0.8233 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.39e-05/0.6263, allocations: 94.42 kB / 0.8234 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.6263, allocations: 20.5 kB / 0.8234 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.597e-05/0.6264, allocations: 27.48 kB / 0.8235 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.216e-05/0.6265, allocations: 324 kB / 0.8238 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.6266, allocations: 69.39 kB / 0.8238 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.887e-05/0.6267, allocations: 63.22 kB / 0.8239 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.6269, allocations: 188.4 kB / 0.8241 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.6269, allocations: 0 / 0.8241 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003151/0.6272, allocations: 260.4 kB / 0.8243 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.903e-05/0.6273, allocations: 68.27 kB / 0.8244 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.6273, allocations: 0.75 kB / 0.8244 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.6273, allocations: 1.375 kB / 0.8244 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.307e-05/0.6274, allocations: 13.3 kB / 0.8244 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.6274, allocations: 5.734 kB / 0.8244 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.176e-05/0.6275, allocations: 32.28 kB / 0.8244 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.6275, allocations: 5.234 kB / 0.8244 GB, free: 13.72 MB / 0.6198 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.0001006/0.6276, allocations: 160.2 kB / 0.8246 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.615e-05/0.6276, allocations: 10.06 kB / 0.8246 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/0.6276, allocations: 11.23 kB / 0.8246 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.6276, allocations: 1.562 kB / 0.8246 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.6276, allocations: 3.938 kB / 0.8246 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.6276, allocations: 4.5 kB / 0.8246 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.6278, allocations: 164.5 kB / 0.8248 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.6278, allocations: 0 / 0.8248 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.248e-05/0.6278, allocations: 13.69 kB / 0.8248 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.6278, allocations: 4 kB / 0.8248 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.6278, allocations: 3.328 kB / 0.8248 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.6278, allocations: 1.406 kB / 0.8248 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.6278, allocations: 0.6094 kB / 0.8248 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003298/0.6282, allocations: 249.8 kB / 0.825 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.528e-05/0.6282, allocations: 10.3 kB / 0.825 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.6282, allocations: 3.969 kB / 0.8251 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.564e-05/0.6283, allocations: 19.47 kB / 0.8251 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.6284, allocations: 37.05 kB / 0.8251 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.6284, allocations: 3.609 kB / 0.8251 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.552e-05/0.6285, allocations: 104.9 kB / 0.8252 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.6285, allocations: 3.938 kB / 0.8252 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001527/0.6286, allocations: 29.41 kB / 0.8252 GB, free: 13.11 MB / 0.6198 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 9.966e-05/0.6287, allocations: 101.6 kB / 0.8253 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003569/0.6291, allocations: 255.4 kB / 0.8256 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.6291, allocations: 0 / 0.8256 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.6292, allocations: 139.3 kB / 0.8257 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/0.6294, allocations: 16.98 kB / 0.8257 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004742/0.6299, allocations: 259.4 kB / 0.826 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.6301, allocations: 0.6884 MB / 0.8267 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.228e-05/0.6301, allocations: 17.86 kB / 0.8267 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of SimCode: time 6.01e-07/0.6301, allocations: 0 / 0.8267 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of Templates: time 0.003252/0.6334, allocations: 1.486 MB / 0.8281 GB, free: 11.73 MB / 0.6198 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: 6.250411761924624] Failed to read output from testmodel.py, exit status != 0: 0.6395705628674477 0.649523466 0.024572926000000002 Calling exit ...