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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002102/0.002102, allocations: 188.8 kB / 22.23 MB, free: 5.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.665/1.665, allocations: 225.6 MB / 251 MB, free: 13.04 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.8723/0.8723, allocations: 134 MB / 440.3 MB, free: 228 kB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests") translateModel(IDEAS.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 72.41 kB / 0.6107 GB, free: 13.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2027, allocations: 84.72 MB / 0.6934 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002894/0.2056, allocations: 1.493 MB / 0.6949 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0008795/0.2065, allocations: 474.8 kB / 0.6954 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.291e-05/0.2065, allocations: 0 / 0.6954 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.2066, allocations: 3.938 kB / 0.6954 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.191e-05/0.2067, allocations: 15.88 kB / 0.6954 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.2069, allocations: 47.88 kB / 0.6954 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.2071, allocations: 99.75 kB / 0.6955 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.2072, allocations: 4.188 kB / 0.6955 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.2073, allocations: 55.83 kB / 0.6956 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.898e-05/0.2074, allocations: 35.83 kB / 0.6956 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.2075, allocations: 8 kB / 0.6956 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.96e-05/0.2075, allocations: 8 kB / 0.6956 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.184e-05/0.2075, allocations: 23.92 kB / 0.6956 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.002e-05/0.2076, allocations: 35.86 kB / 0.6957 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.2077, allocations: 83.64 kB / 0.6958 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.32e-05/0.2078, allocations: 4 kB / 0.6958 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2078, allocations: 0 / 0.6958 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.2078, allocations: 0 / 0.6958 GB, free: 6.695 MB / 0.5137 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.0007536/0.2085, allocations: 373.4 kB / 0.6961 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.2086, allocations: 12.03 kB / 0.6961 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/0.2086, allocations: 8.891 kB / 0.6961 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.2088, allocations: 134.4 kB / 0.6963 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.2088, allocations: 8.312 kB / 0.6963 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.2089, allocations: 8.375 kB / 0.6963 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003489/0.2092, allocations: 121.7 kB / 0.6964 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.2092, allocations: 0 / 0.6964 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.2092, allocations: 7.938 kB / 0.6964 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.2092, allocations: 0 / 0.6964 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003268/0.2096, allocations: 95.86 kB / 0.6965 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005946/0.2102, allocations: 299.8 kB / 0.6968 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003524/0.2105, allocations: 98.5 kB / 0.6969 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/0.2107, allocations: 68.94 kB / 0.6969 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.2108, allocations: 0 / 0.6969 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003843/0.2111, allocations: 127.2 kB / 0.6971 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.2111, allocations: 0 / 0.6971 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0008027/0.2119, allocations: 279.2 kB / 0.6973 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.772e-05/0.212, allocations: 89.09 kB / 0.6974 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.2121, allocations: 128.9 kB / 0.6975 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.2122, allocations: 29.7 kB / 0.6976 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.835e-05/0.2122, allocations: 100.1 kB / 0.6977 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.2123, allocations: 11.91 kB / 0.6977 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.147e-05/0.2123, allocations: 33.7 kB / 0.6977 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.2125, allocations: 326.8 kB / 0.698 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.2127, allocations: 71.89 kB / 0.6981 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.2129, allocations: 59.95 kB / 0.6981 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003978/0.2133, allocations: 190 kB / 0.6983 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2133, allocations: 0 / 0.6983 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005657/0.2139, allocations: 264.9 kB / 0.6986 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.874e-05/0.214, allocations: 63.41 kB / 0.6986 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.214, allocations: 0 / 0.6986 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.214, allocations: 0 / 0.6986 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.2141, allocations: 19.97 kB / 0.6987 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.2141, allocations: 0 / 0.6987 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.2143, allocations: 23.92 kB / 0.6987 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.2143, allocations: 8 kB / 0.6987 GB, free: 3.445 MB / 0.5137 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.0001592/0.2145, allocations: 155.5 kB / 0.6988 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.2145, allocations: 11.95 kB / 0.6988 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.918e-05/0.2145, allocations: 12.36 kB / 0.6989 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.2145, allocations: 0 / 0.6989 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.2146, allocations: 0 / 0.6989 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2146, allocations: 0 / 0.6989 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.2147, allocations: 168.6 kB / 0.699 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2147, allocations: 7.938 kB / 0.699 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.012e-05/0.2148, allocations: 15.92 kB / 0.699 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2148, allocations: 0 / 0.699 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.2149, allocations: 4 kB / 0.699 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2149, allocations: 0 / 0.699 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2149, allocations: 0 / 0.699 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005498/0.2154, allocations: 250.6 kB / 0.6993 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 1.748e-05/0.2154, allocations: 7.953 kB / 0.6993 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.2155, allocations: 4.312 kB / 0.6993 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.2156, allocations: 19.97 kB / 0.6993 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.2158, allocations: 43.95 kB / 0.6994 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.2158, allocations: 4 kB / 0.6994 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.626e-05/0.2159, allocations: 95.27 kB / 0.6994 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.2159, allocations: 0 / 0.6994 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002221/0.2161, allocations: 31.94 kB / 0.6995 GB, free: 2.547 MB / 0.5137 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.000139/0.2162, allocations: 107.2 kB / 0.6996 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005748/0.2168, allocations: 250.7 kB / 0.6998 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2168, allocations: 0 / 0.6998 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002808/0.2171, allocations: 131.3 kB / 0.6999 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.2173, allocations: 23.27 kB / 0.7 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006206/0.2179, allocations: 223.3 kB / 0.7002 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.2183, allocations: 0.6924 MB / 0.7009 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.318e-05/0.2184, allocations: 11.98 kB / 0.7009 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.093e-05/0.2184, allocations: 15.38 kB / 0.7009 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.2184, allocations: 0 / 0.7009 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of Templates: time 0.005346/0.2238, allocations: 1.912 MB / 0.7028 GB, free: 15.11 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.26586265489459] Failed to read output from testmodel.py, exit status != 0: 0.23177626822143793 0.24956067599999995 0.038290664 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f34c6ce57b0>