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.001153/0.001153, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.001368/0.001368, allocations: 218.3 kB / 22.26 MB, free: 3.695 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.059/1.059, allocations: 230.6 MB / 256 MB, free: 9.633 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.8233/0.8233, allocations: 203.8 MB / 0.5042 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: "" <> 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: 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.0009508/0.0009508, allocations: 67.02 kB / 0.7182 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6949/0.6959, allocations: 102 MB / 0.8178 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002171/0.6981, allocations: 1.516 MB / 0.8193 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007457/0.6988, allocations: 0.5257 MB / 0.8198 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.718e-05/0.6989, allocations: 9.781 kB / 0.8198 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.699, allocations: 5.719 kB / 0.8198 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.325e-05/0.6991, allocations: 19.83 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003169/0.6994, allocations: 41.08 kB / 0.8199 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.6996, allocations: 112.7 kB / 0.82 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.6998, allocations: 13.73 kB / 0.82 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.7, allocations: 57 kB / 0.8201 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.401e-05/0.7001, allocations: 41.36 kB / 0.8201 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.7001, allocations: 8.438 kB / 0.8201 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.852e-05/0.7001, allocations: 18.77 kB / 0.8201 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.034e-05/0.7002, allocations: 9.406 kB / 0.8201 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.21e-05/0.7002, allocations: 44.56 kB / 0.8202 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.7004, allocations: 85.09 kB / 0.8203 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.7004, allocations: 0 / 0.8203 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 6.653e-06/0.7005, allocations: 0 / 0.8203 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.7005, allocations: 0 / 0.8203 GB, free: 15.61 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.0006685/0.7011, allocations: 376.7 kB / 0.8206 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.7012, allocations: 15.84 kB / 0.8206 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.417e-05/0.7012, allocations: 36.34 kB / 0.8207 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.7014, allocations: 22.22 kB / 0.8207 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.7016, allocations: 143.1 kB / 0.8208 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.7016, allocations: 6.25 kB / 0.8208 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.7016, allocations: 5.219 kB / 0.8208 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002459/0.7019, allocations: 115.2 kB / 0.821 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.7019, allocations: 0 / 0.821 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.7019, allocations: 12.34 kB / 0.821 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.7019, allocations: 0 / 0.821 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.7021, allocations: 85.3 kB / 0.8211 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004785/0.7026, allocations: 306.3 kB / 0.8213 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.7028, allocations: 100.8 kB / 0.8214 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.7029, allocations: 62.3 kB / 0.8215 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.7029, allocations: 5.125 kB / 0.8215 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002376/0.7031, allocations: 129.1 kB / 0.8216 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.7031, allocations: 3.5 kB / 0.8216 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0005047/0.7036, allocations: 274.6 kB / 0.8219 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/0.7037, allocations: 85.95 kB / 0.822 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.7038, allocations: 131.5 kB / 0.8221 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.7038, allocations: 33.89 kB / 0.8221 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.381e-05/0.7039, allocations: 97.62 kB / 0.8222 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.7039, allocations: 13.19 kB / 0.8222 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.704, allocations: 30.98 kB / 0.8223 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.968e-05/0.7041, allocations: 324.1 kB / 0.8226 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.7042, allocations: 62.58 kB / 0.8226 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.7043, allocations: 69.3 kB / 0.8227 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/0.7045, allocations: 185.3 kB / 0.8229 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.7045, allocations: 0 / 0.8229 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003129/0.7048, allocations: 257.7 kB / 0.8231 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.555e-05/0.7049, allocations: 67.88 kB / 0.8232 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.7049, allocations: 0 / 0.8232 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.7049, allocations: 0 / 0.8232 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.124e-05/0.705, allocations: 25.02 kB / 0.8232 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.705, allocations: 0 / 0.8232 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.77e-05/0.7051, allocations: 30.92 kB / 0.8232 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.7051, allocations: 16.17 kB / 0.8233 GB, free: 13.38 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.0001099/0.7052, allocations: 149.8 kB / 0.8234 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.7052, allocations: 13.05 kB / 0.8234 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.097e-05/0.7053, allocations: 17.38 kB / 0.8234 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.7053, allocations: 7.938 kB / 0.8234 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.7053, allocations: 1.188 kB / 0.8234 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.7053, allocations: 0 / 0.8234 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.7054, allocations: 167.5 kB / 0.8236 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.7054, allocations: 0.5156 kB / 0.8236 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.557e-05/0.7054, allocations: 11.94 kB / 0.8236 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.7054, allocations: 1.922 kB / 0.8236 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.7055, allocations: 3.078 kB / 0.8236 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.7055, allocations: 0 / 0.8236 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.7055, allocations: 1.031 kB / 0.8236 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003378/0.7058, allocations: 254 kB / 0.8239 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.534e-05/0.7058, allocations: 6.812 kB / 0.8239 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.7058, allocations: 7.672 kB / 0.8239 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.834e-05/0.7059, allocations: 20.47 kB / 0.8239 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.706, allocations: 39.86 kB / 0.8239 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-06/0.706, allocations: 3.641 kB / 0.8239 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.559e-05/0.7061, allocations: 108.1 kB / 0.824 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.7061, allocations: 0 / 0.824 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001409/0.7062, allocations: 21.75 kB / 0.8241 GB, free: 12.77 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 0.0005589/0.7068, allocations: 0.7898 MB / 0.8248 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003703/0.7072, allocations: 252.5 kB / 0.8251 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.7072, allocations: 0 / 0.8251 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001691/0.7073, allocations: 135.3 kB / 0.8252 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/0.7075, allocations: 20.16 kB / 0.8252 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.7095, allocations: 1.773 MB / 0.8269 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.7097, allocations: 0.7008 MB / 0.8276 GB, free: 9.773 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.793e-05/0.7097, allocations: 9.031 kB / 0.8276 GB, free: 9.773 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.963e-05/0.7098, allocations: 21.28 kB / 0.8277 GB, free: 9.758 MB / 0.6198 GB Notification: Performance of SimCode: time 4.81e-07/0.7098, allocations: 0 / 0.8277 GB, free: 9.758 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/0.7341, allocations: 3.24 MB / 0.8308 GB, free: 9.207 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.753/7.487, allocations: 3.781 kB / 0.8308 GB, free: 9.207 MB / 0.6198 GB " [Timeout remaining time 652] (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.892434860114008] Failed to read output from testmodel.py, exit status != 0: 7.563310824101791 7.573738806 6.87108157 Calling exit ...