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.0008763/0.0008763, 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.0007893/0.0007893, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.003/1.003, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.7487/0.7487, allocations: 154.5 MB / 413.7 MB, free: 0.8125 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.384e-06/2.384e-06, allocations: 0 / 0.618 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.1e-05/3.338e-05, allocations: 5.375 kB / 0.618 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002208/0.002241, allocations: 1.486 MB / 0.6194 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0007715/0.003012, allocations: 0.4909 MB / 0.6199 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.439e-05/0.003087, allocations: 3.938 kB / 0.6199 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.003208, allocations: 7.922 kB / 0.6199 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 6.036e-05/0.003269, allocations: 19.86 kB / 0.62 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.003578, allocations: 47.81 kB / 0.62 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.003756, allocations: 103.7 kB / 0.6201 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.003887, allocations: 16.17 kB / 0.6201 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.004105, allocations: 59.89 kB / 0.6202 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 7.931e-05/0.004184, allocations: 39.88 kB / 0.6202 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/0.004209, allocations: 8 kB / 0.6202 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002265/0.004435, allocations: 12 kB / 0.6202 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 4.736e-05/0.004483, allocations: 15.98 kB / 0.6202 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 5.663e-05/0.004539, allocations: 31.86 kB / 0.6203 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.004721, allocations: 103.7 kB / 0.6204 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.004725, allocations: 0 / 0.6204 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.405e-06/0.004728, allocations: 0 / 0.6204 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.004734, allocations: 4 kB / 0.6204 GB, free: 10.21 MB / 0.5417 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.000641/0.005375, allocations: 389.4 kB / 0.6207 GB, free: 9.785 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.005429, allocations: 9.469 kB / 0.6208 GB, free: 9.777 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.698e-05/0.005466, allocations: 34.75 kB / 0.6208 GB, free: 9.734 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.0056, allocations: 16.88 kB / 0.6208 GB, free: 9.719 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.005872, allocations: 137.7 kB / 0.6209 GB, free: 9.559 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.005887, allocations: 4.375 kB / 0.6209 GB, free: 9.555 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.005906, allocations: 12.34 kB / 0.621 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.006159, allocations: 143.9 kB / 0.6211 GB, free: 9.391 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.006169, allocations: 4.125 kB / 0.6211 GB, free: 9.387 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.006183, allocations: 11.94 kB / 0.6211 GB, free: 9.375 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.006189, allocations: 0 / 0.6211 GB, free: 9.375 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/0.006363, allocations: 117.6 kB / 0.6212 GB, free: 9.254 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004781/0.006841, allocations: 279.9 kB / 0.6215 GB, free: 8.938 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.007081, allocations: 132.1 kB / 0.6216 GB, free: 8.793 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.007192, allocations: 102.6 kB / 0.6217 GB, free: 8.684 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.007209, allocations: 3.938 kB / 0.6217 GB, free: 8.68 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002376/0.007447, allocations: 161.1 kB / 0.6219 GB, free: 8.504 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=6): time 1.894e-06/0.007449, allocations: 0 / 0.6219 GB, free: 8.504 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6): time 0.0005084/0.007957, allocations: 338.5 kB / 0.6222 GB, free: 8.148 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.008016, allocations: 89.09 kB / 0.6223 GB, free: 8.043 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.992e-05/0.008116, allocations: 132.6 kB / 0.6224 GB, free: 7.902 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.008132, allocations: 33.64 kB / 0.6224 GB, free: 7.863 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.059e-05/0.008193, allocations: 108 kB / 0.6225 GB, free: 7.754 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.566e-05/0.008208, allocations: 11.91 kB / 0.6225 GB, free: 7.742 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.984e-05/0.008258, allocations: 33.7 kB / 0.6226 GB, free: 7.703 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.893e-05/0.008357, allocations: 318.8 kB / 0.6229 GB, free: 7.383 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.008497, allocations: 123.3 kB / 0.623 GB, free: 7.25 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.008611, allocations: 127.4 kB / 0.6231 GB, free: 7.113 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.008814, allocations: 181.9 kB / 0.6233 GB, free: 6.914 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.008817, allocations: 0 / 0.6233 GB, free: 6.914 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003233/0.00914, allocations: 324.3 kB / 0.6236 GB, free: 6.566 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 5.174e-05/0.009192, allocations: 63.41 kB / 0.6237 GB, free: 6.492 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.009198, allocations: 0 / 0.6237 GB, free: 6.492 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.009218, allocations: 7.984 kB / 0.6237 GB, free: 6.484 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.955e-05/0.009308, allocations: 12.23 kB / 0.6237 GB, free: 6.473 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.009315, allocations: 0 / 0.6237 GB, free: 6.473 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.623e-05/0.009391, allocations: 27.98 kB / 0.6237 GB, free: 6.445 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.009406, allocations: 8.141 kB / 0.6237 GB, free: 6.438 MB / 0.5417 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.0001153/0.009521, allocations: 152.5 kB / 0.6239 GB, free: 6.273 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.701e-05/0.009538, allocations: 11.95 kB / 0.6239 GB, free: 6.262 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.00957, allocations: 16.7 kB / 0.6239 GB, free: 6.238 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.009573, allocations: 0 / 0.6239 GB, free: 6.238 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.009579, allocations: 96 / 0.6239 GB, free: 6.238 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.009582, allocations: 3.938 kB / 0.6239 GB, free: 6.234 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.009701, allocations: 156.6 kB / 0.624 GB, free: 6.039 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.009702, allocations: 4 kB / 0.6241 GB, free: 6.035 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.946e-05/0.009752, allocations: 11.98 kB / 0.6241 GB, free: 6.023 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.009754, allocations: 4 kB / 0.6241 GB, free: 6.02 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.009766, allocations: 3.984 kB / 0.6241 GB, free: 6.016 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.009768, allocations: 3.938 kB / 0.6241 GB, free: 6.012 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.009771, allocations: 3.984 kB / 0.6241 GB, free: 6.008 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000311/0.01008, allocations: 280.3 kB / 0.6243 GB, free: 5.703 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.422e-05/0.0101, allocations: 7.953 kB / 0.6244 GB, free: 5.695 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.01012, allocations: 7.984 kB / 0.6244 GB, free: 5.688 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.701e-05/0.01019, allocations: 19.98 kB / 0.6244 GB, free: 5.668 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.01031, allocations: 35.95 kB / 0.6244 GB, free: 5.633 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.01032, allocations: 4 kB / 0.6244 GB, free: 5.629 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.952e-05/0.01037, allocations: 103.2 kB / 0.6245 GB, free: 5.527 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5e-08/0.01037, allocations: 0 / 0.6245 GB, free: 5.527 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001461/0.01051, allocations: 27.98 kB / 0.6245 GB, free: 5.5 MB / 0.5417 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.0005631/0.01108, allocations: 0.8109 MB / 0.6253 GB, free: 4.648 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003638/0.01144, allocations: 347.7 kB / 0.6257 GB, free: 4.266 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01144, allocations: 0 / 0.6257 GB, free: 4.266 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.01159, allocations: 161 kB / 0.6258 GB, free: 4.09 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.01178, allocations: 19.98 kB / 0.6258 GB, free: 4.07 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.01374, allocations: 2.027 MB / 0.6278 GB, free: 1.883 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.025e-05/0.0138, allocations: 87.06 kB / 0.6279 GB, free: 1.777 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.906e-05/0.01385, allocations: 4 kB / 0.6279 GB, free: 1.773 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.719e-05/0.01391, allocations: 24.48 kB / 0.6279 GB, free: 1.75 MB / 0.5417 GB Notification: Performance of SimCode: time 1.653e-06/0.01391, allocations: 0 / 0.6279 GB, free: 1.75 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02323/0.03714, allocations: 3.906 MB / 0.6317 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.145/7.182, allocations: 5.719 kB / 0.6317 GB, free: 14.02 MB / 0.5573 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.57047586236149] Failed to read output from testmodel.py, exit status != 0: 7.2650430938228965 7.547242342 7.268307463 Calling exit ...