Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.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.001438/0.001438, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001668/0.001668, allocations: 220.7 kB / 23 MB, free: 4.914 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.606/1.606, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.9217/0.9217, allocations: 134 MB / 447.2 MB, free: 9.914 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: translateModel(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") [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.002048/0.002048, allocations: 75.73 kB / 0.6197 GB, free: 6.391 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2095, allocations: 85.91 MB / 0.7036 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.00563/0.2152, allocations: 3.722 MB / 0.7072 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002571/0.2177, allocations: 1.332 MB / 0.7085 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002888/0.218, allocations: 31.81 kB / 0.7085 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003504/0.2184, allocations: 130.7 kB / 0.7087 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003466/0.2187, allocations: 178.4 kB / 0.7088 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008452/0.2196, allocations: 429.5 kB / 0.7092 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0009851/0.2205, allocations: 0.9516 MB / 0.7102 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005053/0.2211, allocations: 286.6 kB / 0.7104 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003764/0.2214, allocations: 346.7 kB / 0.7108 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000349/0.2218, allocations: 290.4 kB / 0.7111 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.2219, allocations: 99.94 kB / 0.7111 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.222, allocations: 95.94 kB / 0.7112 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001573/0.2222, allocations: 175.5 kB / 0.7114 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003124/0.2225, allocations: 310.5 kB / 0.7117 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.2236, allocations: 1.066 MB / 0.7127 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2236, allocations: 0 / 0.7127 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.774e-06/0.2236, allocations: 0 / 0.7127 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.549e-05/0.2236, allocations: 0 / 0.7127 GB, free: 7.121 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001975/0.2256, allocations: 1.091 MB / 0.7138 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.2256, allocations: 8.031 kB / 0.7138 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.2258, allocations: 88.42 kB / 0.7139 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009672/0.2267, allocations: 0.496 MB / 0.7144 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.84e-05/0.2268, allocations: 45.69 kB / 0.7144 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.2269, allocations: 64.33 kB / 0.7145 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.228, allocations: 0.6619 MB / 0.7151 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.2281, allocations: 0 / 0.7151 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.401e-05/0.2281, allocations: 24 kB / 0.7152 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.2281, allocations: 12 kB / 0.7152 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009864/0.2291, allocations: 465 kB / 0.7156 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002745/0.2319, allocations: 1.702 MB / 0.7173 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009362/0.2328, allocations: 417.5 kB / 0.7177 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004481/0.2332, allocations: 222.1 kB / 0.7179 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.698e-05/0.2333, allocations: 12.42 kB / 0.7179 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005453/0.2338, allocations: 253.4 kB / 0.7181 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=49): time 2.164e-06/0.2338, allocations: 0 / 0.7181 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of matching and sorting (n=49): time 0.001314/0.2351, allocations: 0.5846 MB / 0.7187 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.2352, allocations: 55.84 kB / 0.7188 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004928/0.2357, allocations: 438.5 kB / 0.7192 GB, free: 328 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.294e-05/0.2357, allocations: 37.7 kB / 0.7192 GB, free: 284 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003067/0.236, allocations: 337 kB / 0.7195 GB, free: 15.94 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.2362, allocations: 170.5 kB / 0.7197 GB, free: 15.77 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/0.2363, allocations: 98.28 kB / 0.7198 GB, free: 15.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001925/0.2365, allocations: 362.8 kB / 0.7201 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003977/0.2369, allocations: 190.9 kB / 0.7203 GB, free: 15.11 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004658/0.2374, allocations: 284.4 kB / 0.7206 GB, free: 14.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008339/0.2382, allocations: 454.9 kB / 0.721 GB, free: 14.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2382, allocations: 0 / 0.721 GB, free: 14.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001081/0.2393, allocations: 0.5863 MB / 0.7216 GB, free: 13.71 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.579e-05/0.2393, allocations: 37.7 kB / 0.7216 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.2394, allocations: 8 kB / 0.7216 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.2394, allocations: 11.94 kB / 0.7217 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004893/0.2399, allocations: 111.8 kB / 0.7218 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-05/0.2399, allocations: 11.92 kB / 0.7218 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002983/0.2402, allocations: 59.64 kB / 0.7218 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.826e-05/0.2402, allocations: 20 kB / 0.7219 GB, free: 13.46 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0002677/0.2405, allocations: 205.8 kB / 0.722 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.462e-05/0.2406, allocations: 55.61 kB / 0.7221 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.2407, allocations: 65.45 kB / 0.7222 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/0.2407, allocations: 12 kB / 0.7222 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.2407, allocations: 0 / 0.7222 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.2407, allocations: 3.984 kB / 0.7222 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.2424, allocations: 1.002 MB / 0.7232 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2424, allocations: 0 / 0.7232 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004421/0.2428, allocations: 91.89 kB / 0.7232 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.2428, allocations: 4 kB / 0.7232 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.474e-05/0.2429, allocations: 15.98 kB / 0.7233 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2429, allocations: 0 / 0.7233 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2429, allocations: 0 / 0.7233 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/0.2442, allocations: 0.7652 MB / 0.724 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001733/0.2444, allocations: 99.56 kB / 0.7241 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.626e-05/0.2445, allocations: 4 kB / 0.7241 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002701/0.2447, allocations: 27.97 kB / 0.7241 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.353e-05/0.2448, allocations: 32.38 kB / 0.7242 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.199e-05/0.2449, allocations: 19.98 kB / 0.7242 GB, free: 11 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003491/0.2452, allocations: 291.1 kB / 0.7245 GB, free: 10.72 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2452, allocations: 4 kB / 0.7245 GB, free: 10.72 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004357/0.2457, allocations: 143.6 kB / 0.7246 GB, free: 10.58 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * 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.0001501/0.2458, allocations: 111.2 kB / 0.7247 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009609/0.2468, allocations: 490.3 kB / 0.7252 GB, free: 9.961 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2468, allocations: 0 / 0.7252 GB, free: 9.961 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000432/0.2472, allocations: 210.8 kB / 0.7254 GB, free: 9.758 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000774/0.248, allocations: 157.1 kB / 0.7255 GB, free: 9.613 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002923/0.2509, allocations: 1.386 MB / 0.7269 GB, free: 8.188 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.2513, allocations: 292.5 kB / 0.7272 GB, free: 7.879 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.2514, allocations: 51.42 kB / 0.7272 GB, free: 7.832 MB / 0.545 GB Notification: Performance of SimCode: time 5.01e-07/0.2514, allocations: 0 / 0.7272 GB, free: 7.832 MB / 0.545 GB Notification: Performance of Templates: time 0.01393/0.2654, allocations: 7.793 MB / 0.7348 GB, free: 76 kB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.028726340271533] Failed to read output from testmodel.py, exit status != 0: 0.2731570256873965 0.28834843200000004 0.061701795000000004 Calling exit ...