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.0009527/0.0009527, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009759/0.0009759, allocations: 169.9 kB / 22.46 MB, free: 2.105 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 1.012/1.012, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.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.7531/0.7531, allocations: 154.5 MB / 413.7 MB, free: 0.8203 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 0 / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.067e-05/3.299e-05, allocations: 7.938 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002121/0.002154, allocations: 1.491 MB / 0.6195 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007374/0.002891, allocations: 0.4948 MB / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.255e-05/0.002964, allocations: 0 / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.003077, allocations: 3.938 kB / 0.6199 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.594e-05/0.003133, allocations: 19.86 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.003434, allocations: 47.81 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.003608, allocations: 99.75 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.003733, allocations: 8.188 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002202/0.003953, allocations: 79.73 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.939e-05/0.004042, allocations: 35.89 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.004065, allocations: 8 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.316e-05/0.004108, allocations: 12 kB / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.409e-05/0.004152, allocations: 19.91 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.07e-05/0.004203, allocations: 31.92 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.004373, allocations: 91.8 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.004375, allocations: 0 / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.144e-06/0.004377, allocations: 4 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.004381, allocations: 0 / 0.6204 GB, free: 11.29 MB / 0.5886 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.0006081/0.004989, allocations: 381.4 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.005037, allocations: 13.45 kB / 0.6208 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.482e-05/0.005072, allocations: 38.75 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.005199, allocations: 20.88 kB / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.00541, allocations: 129.7 kB / 0.6209 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.005426, allocations: 8.375 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.005442, allocations: 12.31 kB / 0.621 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.005682, allocations: 143.9 kB / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.005691, allocations: 4.188 kB / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.005706, allocations: 11.94 kB / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.005714, allocations: 3.984 kB / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.005881, allocations: 113.6 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004361/0.006317, allocations: 283.8 kB / 0.6215 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.006525, allocations: 136.1 kB / 0.6216 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.006634, allocations: 102.6 kB / 0.6217 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.00665, allocations: 0 / 0.6217 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002199/0.00687, allocations: 153 kB / 0.6219 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.006871, allocations: 0 / 0.6219 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0004763/0.007348, allocations: 342.5 kB / 0.6222 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.007396, allocations: 85.09 kB / 0.6223 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.649e-05/0.007482, allocations: 136.9 kB / 0.6224 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.007501, allocations: 33.7 kB / 0.6224 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.072e-05/0.007551, allocations: 92.09 kB / 0.6225 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.007568, allocations: 19.89 kB / 0.6225 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.462e-05/0.007613, allocations: 29.72 kB / 0.6226 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.556e-05/0.007708, allocations: 322.8 kB / 0.6229 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.007835, allocations: 127.3 kB / 0.623 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.007947, allocations: 123.4 kB / 0.6231 GB, free: 8.207 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.008134, allocations: 181.9 kB / 0.6233 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.008136, allocations: 0 / 0.6233 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003048/0.008441, allocations: 328.3 kB / 0.6236 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.317e-05/0.008484, allocations: 59.41 kB / 0.6237 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.00849, allocations: 7.938 kB / 0.6237 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.008504, allocations: 4 kB / 0.6237 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.355e-05/0.008578, allocations: 11.98 kB / 0.6237 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.008585, allocations: 3.984 kB / 0.6237 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.045e-05/0.008655, allocations: 27.92 kB / 0.6237 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.008668, allocations: 7.938 kB / 0.6237 GB, free: 7.523 MB / 0.5886 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 9.694e-05/0.008765, allocations: 159.8 kB / 0.6239 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/0.008777, allocations: 15.95 kB / 0.6239 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.855e-05/0.008806, allocations: 8.875 kB / 0.6239 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.008809, allocations: 7.922 kB / 0.6239 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.008814, allocations: 256 / 0.6239 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.008819, allocations: 4 kB / 0.6239 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.948e-05/0.008919, allocations: 152.7 kB / 0.6241 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.008921, allocations: 4 kB / 0.6241 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.656e-05/0.008957, allocations: 11.98 kB / 0.6241 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.008959, allocations: 0 / 0.6241 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.008968, allocations: 0 / 0.6241 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.00897, allocations: 3.984 kB / 0.6241 GB, free: 7.102 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.008971, allocations: 8 kB / 0.6241 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/0.009272, allocations: 280.3 kB / 0.6244 GB, free: 6.789 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.144e-05/0.009284, allocations: 3.953 kB / 0.6244 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.009301, allocations: 4 kB / 0.6244 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.641e-05/0.009358, allocations: 19.97 kB / 0.6244 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.009465, allocations: 39.95 kB / 0.6244 GB, free: 6.723 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.009475, allocations: 4 kB / 0.6244 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.696e-05/0.009522, allocations: 103.3 kB / 0.6245 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.009522, allocations: 0 / 0.6245 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001407/0.009663, allocations: 24 kB / 0.6245 GB, free: 6.594 MB / 0.5886 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.0008007/0.01046, allocations: 0.8109 MB / 0.6253 GB, free: 5.742 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003582/0.01082, allocations: 347.9 kB / 0.6257 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.01082, allocations: 0 / 0.6257 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.01097, allocations: 161 kB / 0.6258 GB, free: 5.184 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.01115, allocations: 18.17 kB / 0.6258 GB, free: 5.168 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.01283, allocations: 2.03 MB / 0.6278 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.697e-05/0.01289, allocations: 75.33 kB / 0.6279 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.973e-05/0.01294, allocations: 11.92 kB / 0.6279 GB, free: 2.879 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.406e-05/0.01299, allocations: 32.42 kB / 0.6279 GB, free: 2.848 MB / 0.5886 GB Notification: Performance of SimCode: time 6.11e-07/0.01299, allocations: 4.094 kB / 0.6279 GB, free: 2.844 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0196/0.0326, allocations: 3.892 MB / 0.6317 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.267/7.3, allocations: 11 kB / 0.6317 GB, free: 15.13 MB / 0.6042 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Examples_NumberOfRequests.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.274596733041108] Failed to read output from testmodel.py, exit status != 0: 7.380562400445342 7.38833411 7.382334741 Calling exit ...