Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.000947/0.000947, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009021/0.0009021, 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 0.9459/0.9459, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.757/0.757, allocations: 154.6 MB / 413.7 MB, free: 0.8164 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.499e-05/1.676e-05, allocations: 3.688 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.001963/0.00198, allocations: 1.488 MB / 0.6195 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007681/0.002748, allocations: 0.4948 MB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.861e-05/0.002827, allocations: 0 / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.002934, allocations: 3.938 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.406e-05/0.002998, allocations: 19.84 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.003312, allocations: 43.83 kB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.003487, allocations: 115.7 kB / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.003599, allocations: 4.188 kB / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.003807, allocations: 75.8 kB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.298e-05/0.00388, allocations: 31.89 kB / 0.6203 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.003903, allocations: 8 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.519e-05/0.003948, allocations: 12 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.457e-05/0.003993, allocations: 19.92 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.979e-05/0.004043, allocations: 27.97 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.004208, allocations: 99.67 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.004211, allocations: 0 / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.172e-06/0.004212, allocations: 4 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.004217, allocations: 0 / 0.6204 GB, free: 11.27 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.0006033/0.004821, allocations: 385.4 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.004864, allocations: 12.03 kB / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.157e-05/0.004895, allocations: 34.75 kB / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.00501, allocations: 16.88 kB / 0.6209 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.005223, allocations: 140.1 kB / 0.621 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.005239, allocations: 4.375 kB / 0.621 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.005254, allocations: 8.375 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.005543, allocations: 147.9 kB / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.005554, allocations: 192 / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.005571, allocations: 11.92 kB / 0.6212 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.005577, allocations: 0 / 0.6212 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.00575, allocations: 113.6 kB / 0.6213 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004737/0.006223, allocations: 295.8 kB / 0.6216 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.006435, allocations: 124.2 kB / 0.6217 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.006548, allocations: 106.6 kB / 0.6218 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.006563, allocations: 0 / 0.6218 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002347/0.006798, allocations: 149 kB / 0.6219 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.0068, allocations: 4 kB / 0.6219 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0005021/0.007302, allocations: 338.5 kB / 0.6222 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/0.007367, allocations: 89.09 kB / 0.6223 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.007469, allocations: 130.1 kB / 0.6225 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.007489, allocations: 29.7 kB / 0.6225 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.049e-05/0.007559, allocations: 104 kB / 0.6226 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.007578, allocations: 19.89 kB / 0.6226 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.938e-05/0.007627, allocations: 25.72 kB / 0.6226 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.007738, allocations: 326.8 kB / 0.6229 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.007876, allocations: 123.3 kB / 0.6231 GB, free: 8.324 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.007991, allocations: 127.4 kB / 0.6232 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.008184, allocations: 181.8 kB / 0.6233 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.008187, allocations: 256 / 0.6233 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003107/0.008498, allocations: 324.3 kB / 0.6237 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.237e-05/0.00854, allocations: 63.41 kB / 0.6237 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.008546, allocations: 7.938 kB / 0.6237 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.008558, allocations: 0 / 0.6237 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.285e-05/0.008631, allocations: 19.97 kB / 0.6237 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.008637, allocations: 3.938 kB / 0.6237 GB, free: 7.535 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.991e-05/0.008707, allocations: 19.98 kB / 0.6238 GB, free: 7.516 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.008718, allocations: 4 kB / 0.6238 GB, free: 7.512 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.034e-05/0.008809, allocations: 160.5 kB / 0.6239 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.00882, allocations: 7.953 kB / 0.6239 GB, free: 7.332 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.663e-05/0.008847, allocations: 16.77 kB / 0.6239 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.008848, allocations: 0 / 0.6239 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.008853, allocations: 0 / 0.6239 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.008857, allocations: 0 / 0.6239 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.008961, allocations: 160.7 kB / 0.6241 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.008962, allocations: 0 / 0.6241 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.572e-05/0.008998, allocations: 12.08 kB / 0.6241 GB, free: 7.102 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.009, allocations: 11.94 kB / 0.6241 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.009012, allocations: 3.984 kB / 0.6241 GB, free: 7.086 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.009013, allocations: 0 / 0.6241 GB, free: 7.086 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.009014, allocations: 0 / 0.6241 GB, free: 7.086 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.009308, allocations: 284.3 kB / 0.6244 GB, free: 6.777 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.264e-05/0.009321, allocations: 3.953 kB / 0.6244 GB, free: 6.773 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.00934, allocations: 4 kB / 0.6244 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.969e-05/0.0094, allocations: 27.97 kB / 0.6244 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.009511, allocations: 35.95 kB / 0.6245 GB, free: 6.707 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.009521, allocations: 4 kB / 0.6245 GB, free: 6.703 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.881e-05/0.00957, allocations: 101.9 kB / 0.6246 GB, free: 6.605 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.00957, allocations: 0 / 0.6246 GB, free: 6.605 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001464/0.009717, allocations: 24 kB / 0.6246 GB, free: 6.582 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.0005323/0.01025, allocations: 0.8148 MB / 0.6254 GB, free: 5.727 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003748/0.01062, allocations: 355.9 kB / 0.6257 GB, free: 5.336 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.01063, allocations: 0 / 0.6257 GB, free: 5.336 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.01078, allocations: 157 kB / 0.6259 GB, free: 5.164 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/0.01095, allocations: 18.03 kB / 0.6259 GB, free: 5.148 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.01267, allocations: 2.038 MB / 0.6279 GB, free: 2.957 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.886e-05/0.01273, allocations: 75.33 kB / 0.628 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.001e-05/0.01277, allocations: 8 kB / 0.628 GB, free: 2.855 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.195e-05/0.01282, allocations: 24.48 kB / 0.628 GB, free: 2.832 MB / 0.5886 GB Notification: Performance of SimCode: time 8.31e-07/0.01282, allocations: 0 / 0.628 GB, free: 2.832 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01813/0.03095, allocations: 3.894 MB / 0.6318 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.033/7.064, allocations: 10.23 kB / 0.6318 GB, free: 15.12 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_Continuous_Examples_NumberOfRequests.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.065106445923448] Failed to read output from testmodel.py, exit status != 0: 7.1446358896791935 7.154675298 7.148703511 Calling exit ...