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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 105.3 kB / 17.08 MB, free: 5.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 196.2 kB / 20.03 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.632/1.632, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.376/1.376, allocations: 175.5 MB / 473.4 MB, free: 4.836 MB / 366.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 68.83 kB / 0.652 GB, free: 21.89 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2418, allocations: 90.05 MB / 0.7399 GB, free: 400 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002932/0.2448, allocations: 1.466 MB / 0.7414 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009151/0.2458, allocations: 472 kB / 0.7418 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.79e-05/0.2458, allocations: 0 / 0.7418 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.2459, allocations: 7.922 kB / 0.7418 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.472e-05/0.246, allocations: 11.88 kB / 0.7418 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.2463, allocations: 39.83 kB / 0.7419 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000202/0.2465, allocations: 107.7 kB / 0.742 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.2466, allocations: 16.11 kB / 0.742 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.2468, allocations: 47.84 kB / 0.742 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.2469, allocations: 43.83 kB / 0.7421 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.58e-05/0.2469, allocations: 11.98 kB / 0.7421 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.252e-05/0.247, allocations: 8 kB / 0.7421 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.414e-05/0.247, allocations: 15.92 kB / 0.7421 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.302e-05/0.2471, allocations: 39.84 kB / 0.7422 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.2473, allocations: 87.64 kB / 0.7422 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2473, allocations: 0 / 0.7422 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2473, allocations: 0 / 0.7422 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.978e-06/0.2473, allocations: 0 / 0.7422 GB, free: 14.02 MB / 0.5606 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.0008601/0.2482, allocations: 450.6 kB / 0.7427 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.2482, allocations: 11.97 kB / 0.7427 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.263e-05/0.2483, allocations: 12.89 kB / 0.7427 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.2486, allocations: 192.2 kB / 0.7429 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.2486, allocations: 12.38 kB / 0.7429 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.2486, allocations: 4.375 kB / 0.7429 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/0.249, allocations: 113.8 kB / 0.743 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.249, allocations: 0 / 0.743 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.249, allocations: 4 kB / 0.743 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.249, allocations: 7.922 kB / 0.743 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003072/0.2493, allocations: 83.94 kB / 0.7431 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006163/0.25, allocations: 340.7 kB / 0.7434 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003418/0.2503, allocations: 102.5 kB / 0.7435 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.2505, allocations: 76.94 kB / 0.7436 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.2506, allocations: 0 / 0.7436 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003631/0.2509, allocations: 123.3 kB / 0.7437 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.2509, allocations: 0 / 0.7437 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0008464/0.2518, allocations: 279.2 kB / 0.744 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.474e-05/0.2519, allocations: 85.11 kB / 0.744 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.2521, allocations: 131 kB / 0.7442 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.359e-05/0.2521, allocations: 33.7 kB / 0.7442 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.479e-05/0.2522, allocations: 96.02 kB / 0.7443 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.2522, allocations: 15.91 kB / 0.7443 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.93e-05/0.2523, allocations: 33.7 kB / 0.7443 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002309/0.2525, allocations: 322.8 kB / 0.7447 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.2527, allocations: 63.95 kB / 0.7447 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.2529, allocations: 75.88 kB / 0.7448 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003613/0.2533, allocations: 173.9 kB / 0.745 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.2533, allocations: 3.984 kB / 0.745 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005422/0.2539, allocations: 264.9 kB / 0.7452 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.278e-05/0.2539, allocations: 63.39 kB / 0.7453 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.254, allocations: 0 / 0.7453 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.254, allocations: 0 / 0.7453 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.2541, allocations: 15.98 kB / 0.7453 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.2541, allocations: 4 kB / 0.7453 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.2543, allocations: 24.16 kB / 0.7453 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.2543, allocations: 15.94 kB / 0.7453 GB, free: 10.56 MB / 0.5606 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.0001517/0.2545, allocations: 159.5 kB / 0.7455 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.982e-05/0.2545, allocations: 7.953 kB / 0.7455 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.551e-05/0.2546, allocations: 8.375 kB / 0.7455 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.2546, allocations: 7.938 kB / 0.7455 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.2546, allocations: 0 / 0.7455 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.2546, allocations: 0 / 0.7455 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.2548, allocations: 197.6 kB / 0.7457 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2548, allocations: 0 / 0.7457 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.286e-05/0.2549, allocations: 15.98 kB / 0.7457 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2549, allocations: 0 / 0.7457 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.2549, allocations: 7.984 kB / 0.7457 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.666e-06/0.2549, allocations: 4 kB / 0.7457 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.2549, allocations: 0 / 0.7457 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000601/0.2555, allocations: 242.6 kB / 0.7459 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.879e-05/0.2556, allocations: 89.06 kB / 0.746 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.2557, allocations: 4.094 kB / 0.746 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.2558, allocations: 23.91 kB / 0.7461 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.256, allocations: 31.97 kB / 0.7461 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.256, allocations: 7.984 kB / 0.7461 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.018e-05/0.2561, allocations: 104.9 kB / 0.7462 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2561, allocations: 0 / 0.7462 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002091/0.2563, allocations: 31.94 kB / 0.7462 GB, free: 9.523 MB / 0.5606 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.000132/0.2564, allocations: 103.2 kB / 0.7463 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005819/0.257, allocations: 262.9 kB / 0.7466 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.257, allocations: 0 / 0.7466 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002787/0.2573, allocations: 143.3 kB / 0.7467 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.2576, allocations: 20.14 kB / 0.7467 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005762/0.2581, allocations: 244.8 kB / 0.747 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.2585, allocations: 0.6922 MB / 0.7476 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.831e-05/0.2586, allocations: 15.44 kB / 0.7477 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of SimCode: time 1.9e-07/0.2586, allocations: 0 / 0.7477 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of Templates: time 0.003681/0.2622, allocations: 1.448 MB / 0.7491 GB, free: 6.512 MB / 0.5606 GB " [Timeout remaining time 660] 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: 9.477559271996142] Failed to read output from testmodel.py, exit status != 0: 0.2693951580004068 0.283296702 0.033308054000000004 Calling exit ...