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.002533/0.002533, allocations: 109.5 kB / 19.73 MB, free: 2.238 MB / 14.72 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.00185/0.00185, allocations: 220 kB / 23.04 MB, free: 5.078 MB / 14.72 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.543/1.543, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8025/0.8025, allocations: 134 MB / 447.2 MB, free: 10.74 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_NumberOfRequests",fmuType="cs",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.001825/0.001825, allocations: 66.34 kB / 0.6193 GB, free: 7.293 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1636, allocations: 85.9 MB / 0.7032 GB, free: 1.469 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.00258/0.1662, allocations: 1.509 MB / 0.7046 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009039/0.1671, allocations: 0.5376 MB / 0.7052 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.259e-05/0.1671, allocations: 0 / 0.7052 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.966e-05/0.1672, allocations: 7.938 kB / 0.7052 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.995e-05/0.1673, allocations: 23.8 kB / 0.7052 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.1675, allocations: 43.88 kB / 0.7052 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.1677, allocations: 95.81 kB / 0.7053 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.359e-05/0.1678, allocations: 8.188 kB / 0.7053 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.1679, allocations: 67.77 kB / 0.7054 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.934e-05/0.168, allocations: 35.89 kB / 0.7054 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.168, allocations: 8 kB / 0.7054 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.192e-05/0.1681, allocations: 12 kB / 0.7055 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.659e-05/0.1681, allocations: 15.92 kB / 0.7055 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.291e-05/0.1682, allocations: 39.8 kB / 0.7055 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.1683, allocations: 99.91 kB / 0.7056 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1683, allocations: 0 / 0.7056 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.462e-06/0.1683, allocations: 0 / 0.7056 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.1684, allocations: 0 / 0.7056 GB, free: 14.96 MB / 0.5294 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.0006663/0.169, allocations: 381.4 kB / 0.706 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1691, allocations: 12.03 kB / 0.706 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.501e-05/0.1691, allocations: 192 / 0.706 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.849e-05/0.1691, allocations: 42.75 kB / 0.706 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.1693, allocations: 16.88 kB / 0.706 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.1695, allocations: 138.4 kB / 0.7062 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.1695, allocations: 4.375 kB / 0.7062 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.1695, allocations: 16.11 kB / 0.7062 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003039/0.1698, allocations: 109.6 kB / 0.7063 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.1698, allocations: 0 / 0.7063 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.1698, allocations: 7.938 kB / 0.7063 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.1698, allocations: 15.97 kB / 0.7063 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002928/0.1701, allocations: 87.86 kB / 0.7064 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005242/0.1707, allocations: 295.8 kB / 0.7067 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003199/0.171, allocations: 106.5 kB / 0.7068 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.1712, allocations: 60.94 kB / 0.7068 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.1712, allocations: 4 kB / 0.7068 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003029/0.1715, allocations: 123.3 kB / 0.707 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 4.889e-06/0.1715, allocations: 4 kB / 0.707 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0007053/0.1722, allocations: 275.2 kB / 0.7072 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/0.1723, allocations: 81.11 kB / 0.7073 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.1724, allocations: 136.3 kB / 0.7074 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.1724, allocations: 29.7 kB / 0.7075 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.239e-05/0.1725, allocations: 96.12 kB / 0.7076 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.1725, allocations: 27.91 kB / 0.7076 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.481e-05/0.1726, allocations: 33.7 kB / 0.7076 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1727, allocations: 322.8 kB / 0.7079 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.1729, allocations: 67.89 kB / 0.708 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/0.1731, allocations: 63.95 kB / 0.7081 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003609/0.1735, allocations: 185.9 kB / 0.7082 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1735, allocations: 0 / 0.7082 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005089/0.174, allocations: 260.9 kB / 0.7085 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.96e-05/0.174, allocations: 66.05 kB / 0.7085 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.174, allocations: 352 / 0.7085 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.174, allocations: 3.938 kB / 0.7085 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.1742, allocations: 23.98 kB / 0.7086 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1742, allocations: 4 kB / 0.7086 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.1743, allocations: 27.86 kB / 0.7086 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.1743, allocations: 4 kB / 0.7086 GB, free: 11.63 MB / 0.5294 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.0001285/0.1745, allocations: 151.5 kB / 0.7087 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.1745, allocations: 7.953 kB / 0.7088 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.182e-05/0.1745, allocations: 16.7 kB / 0.7088 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1745, allocations: 0 / 0.7088 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1745, allocations: 4 kB / 0.7088 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1745, allocations: 3.938 kB / 0.7088 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.1747, allocations: 160.7 kB / 0.7089 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1747, allocations: 0 / 0.7089 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.636e-05/0.1748, allocations: 19.92 kB / 0.7089 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1748, allocations: 0 / 0.7089 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.1748, allocations: 7.938 kB / 0.709 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1748, allocations: 0 / 0.709 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1748, allocations: 0 / 0.709 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005/0.1753, allocations: 250.6 kB / 0.7092 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.63e-05/0.1753, allocations: 15.88 kB / 0.7092 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.1753, allocations: 0 / 0.7092 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.1755, allocations: 27.97 kB / 0.7092 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.1756, allocations: 27.97 kB / 0.7093 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.1756, allocations: 15.92 kB / 0.7093 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.908e-05/0.1757, allocations: 101.5 kB / 0.7094 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1757, allocations: 0 / 0.7094 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002012/0.1759, allocations: 24 kB / 0.7094 GB, free: 10.73 MB / 0.5294 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.0008455/0.1767, allocations: 0.7821 MB / 0.7102 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005209/0.1772, allocations: 258.6 kB / 0.7104 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1772, allocations: 0 / 0.7104 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002529/0.1775, allocations: 127.5 kB / 0.7105 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.1777, allocations: 19.92 kB / 0.7106 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/0.1802, allocations: 1.774 MB / 0.7123 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.1805, allocations: 0.6961 MB / 0.713 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.833e-05/0.1805, allocations: 11.98 kB / 0.713 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.35e-05/0.1806, allocations: 27.41 kB / 0.713 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of SimCode: time 4.51e-07/0.1806, allocations: 0 / 0.713 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.2038, allocations: 3.23 MB / 0.7162 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/10.94, allocations: 7.375 kB / 0.7162 GB, free: 3.773 MB / 0.5294 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Examples_NumberOfRequests.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.542987604974769] Failed to read output from testmodel.py, exit status != 0: 11.109834911068901 11.136201422 10.963265581 Calling exit ...