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.001072/0.001072, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001111/0.001111, allocations: 213.7 kB / 22.25 MB, free: 3.711 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.074/1.074, allocations: 230.6 MB / 256 MB, free: 9.812 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.8252/0.8252, allocations: 203.8 MB / 0.5042 GB, free: 10.69 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.0009791/0.0009791, allocations: 72.39 kB / 0.7182 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6624/0.6633, allocations: 102 MB / 0.8178 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002362/0.6657, allocations: 1.517 MB / 0.8193 GB, free: 220 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007736/0.6665, allocations: 0.5387 MB / 0.8198 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.513e-05/0.6666, allocations: 2.5 kB / 0.8198 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.6667, allocations: 4.453 kB / 0.8198 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.745e-05/0.6667, allocations: 11.52 kB / 0.8199 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.667, allocations: 50.84 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.6672, allocations: 103.2 kB / 0.82 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.6674, allocations: 17.61 kB / 0.82 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.6675, allocations: 60 kB / 0.8201 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.6676, allocations: 40.17 kB / 0.8201 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.6677, allocations: 8.625 kB / 0.8201 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.124e-05/0.6677, allocations: 10.72 kB / 0.8201 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.392e-05/0.6678, allocations: 15.16 kB / 0.8201 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.5e-05/0.6678, allocations: 39.62 kB / 0.8202 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.668, allocations: 84.17 kB / 0.8203 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.668, allocations: 0 / 0.8203 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.076e-06/0.668, allocations: 0.75 kB / 0.8203 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.303e-06/0.6681, allocations: 5.219 kB / 0.8203 GB, free: 15.63 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.0006289/0.6687, allocations: 384.2 kB / 0.8206 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.6687, allocations: 9.75 kB / 0.8206 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.32e-05/0.6688, allocations: 34.81 kB / 0.8207 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.6689, allocations: 20.06 kB / 0.8207 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.6691, allocations: 146.9 kB / 0.8208 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.6692, allocations: 8.625 kB / 0.8208 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.6692, allocations: 9.406 kB / 0.8209 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.6694, allocations: 117.6 kB / 0.821 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.6694, allocations: 1.406 kB / 0.821 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.6694, allocations: 4.5 kB / 0.821 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.6695, allocations: 0 / 0.821 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001866/0.6696, allocations: 87.83 kB / 0.8211 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004859/0.6701, allocations: 308.3 kB / 0.8213 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.6703, allocations: 94.42 kB / 0.8214 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.6704, allocations: 64.05 kB / 0.8215 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.6705, allocations: 5.984 kB / 0.8215 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002435/0.6707, allocations: 119.8 kB / 0.8216 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.6707, allocations: 1.375 kB / 0.8216 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.000498/0.6712, allocations: 275.7 kB / 0.8219 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/0.6713, allocations: 93.12 kB / 0.822 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.562e-05/0.6714, allocations: 134.8 kB / 0.8221 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.6714, allocations: 30.94 kB / 0.8221 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.079e-05/0.6714, allocations: 91.55 kB / 0.8222 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.6715, allocations: 24.12 kB / 0.8222 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.776e-05/0.6715, allocations: 29.84 kB / 0.8223 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.07e-05/0.6716, allocations: 318.8 kB / 0.8226 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.6717, allocations: 69.56 kB / 0.8226 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.6719, allocations: 67.81 kB / 0.8227 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.6721, allocations: 187.5 kB / 0.8229 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6721, allocations: 0 / 0.8229 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003209/0.6724, allocations: 262.5 kB / 0.8231 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.269e-05/0.6725, allocations: 61.17 kB / 0.8232 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.6725, allocations: 1.141 kB / 0.8232 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.6725, allocations: 1.281 kB / 0.8232 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.247e-05/0.6726, allocations: 21.88 kB / 0.8232 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.6726, allocations: 1.031 kB / 0.8232 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.583e-05/0.6726, allocations: 32.97 kB / 0.8232 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.6727, allocations: 8.828 kB / 0.8233 GB, free: 13.4 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 9.975e-05/0.6728, allocations: 155.5 kB / 0.8234 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.6728, allocations: 10.05 kB / 0.8234 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.628e-05/0.6728, allocations: 11.09 kB / 0.8234 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.6728, allocations: 6.188 kB / 0.8234 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.6728, allocations: 0 / 0.8234 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.6728, allocations: 1.625 kB / 0.8234 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.6729, allocations: 162.8 kB / 0.8236 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.6729, allocations: 1.5 kB / 0.8236 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.145e-05/0.673, allocations: 13.56 kB / 0.8236 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.673, allocations: 4 kB / 0.8236 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.673, allocations: 6.844 kB / 0.8236 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.673, allocations: 0 / 0.8236 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.673, allocations: 1.312 kB / 0.8236 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002987/0.6733, allocations: 255.5 kB / 0.8239 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.211e-05/0.6733, allocations: 9.922 kB / 0.8239 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.6733, allocations: 3.188 kB / 0.8239 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.099e-05/0.6734, allocations: 23 kB / 0.8239 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.6735, allocations: 33.22 kB / 0.8239 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.6735, allocations: 4.25 kB / 0.8239 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.89e-05/0.6736, allocations: 105.5 kB / 0.824 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6736, allocations: 1.406 kB / 0.824 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001463/0.6737, allocations: 25.12 kB / 0.8241 GB, free: 12.8 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.0005368/0.6743, allocations: 0.7852 MB / 0.8248 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003594/0.6746, allocations: 255.4 kB / 0.8251 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.6746, allocations: 0 / 0.8251 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.6748, allocations: 139.1 kB / 0.8252 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.6749, allocations: 15.03 kB / 0.8252 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.6768, allocations: 1.783 MB / 0.827 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.6771, allocations: 0.6896 MB / 0.8276 GB, free: 9.801 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.953e-05/0.6771, allocations: 7.953 kB / 0.8276 GB, free: 9.801 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.226e-05/0.6772, allocations: 22.56 kB / 0.8277 GB, free: 9.785 MB / 0.6198 GB Notification: Performance of SimCode: time 9.22e-07/0.6772, allocations: 4 kB / 0.8277 GB, free: 9.781 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01977/0.6969, allocations: 3.237 MB / 0.8308 GB, free: 9.234 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.553/7.25, allocations: 8.297 kB / 0.8308 GB, free: 9.234 MB / 0.6198 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.550095973070711] Failed to read output from testmodel.py, exit status != 0: 7.323664032155648 7.3361331530000005 6.664616792 Calling exit ...