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.001353/0.001353, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001454/0.001454, allocations: 159.8 kB / 23.01 MB, free: 4.949 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.442/1.442, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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.8335/0.8335, allocations: 101.3 MB / 361.1 MB, free: 9.543 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.002124/0.002124, allocations: 66.48 kB / 0.5356 GB, free: 5.273 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2029, allocations: 85.87 MB / 0.6195 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.005693/0.2086, allocations: 3.746 MB / 0.6231 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00284/0.2115, allocations: 1.329 MB / 0.6244 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003828/0.2118, allocations: 31.75 kB / 0.6244 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003685/0.2122, allocations: 126.8 kB / 0.6246 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003822/0.2126, allocations: 182.4 kB / 0.6247 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009382/0.2135, allocations: 425.6 kB / 0.6251 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001124/0.2147, allocations: 0.9515 MB / 0.6261 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005125/0.2152, allocations: 294.6 kB / 0.6264 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004548/0.2156, allocations: 346.7 kB / 0.6267 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003788/0.216, allocations: 290.4 kB / 0.627 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.2161, allocations: 92 kB / 0.6271 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.2162, allocations: 88 kB / 0.6271 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.2164, allocations: 179.4 kB / 0.6273 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003311/0.2167, allocations: 306.5 kB / 0.6276 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.2179, allocations: 1.074 MB / 0.6287 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.2179, allocations: 0 / 0.6287 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2179, allocations: 0 / 0.6287 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.498e-05/0.2179, allocations: 0 / 0.6287 GB, free: 8.16 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.002088/0.22, allocations: 1.08 MB / 0.6297 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.2201, allocations: 12.03 kB / 0.6297 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.2202, allocations: 92.36 kB / 0.6298 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009916/0.2212, allocations: 0.4999 MB / 0.6303 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.808e-05/0.2213, allocations: 45.69 kB / 0.6303 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.2214, allocations: 64.27 kB / 0.6304 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.2226, allocations: 0.6619 MB / 0.631 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.841e-05/0.2226, allocations: 8 kB / 0.6311 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.267e-05/0.2226, allocations: 20 kB / 0.6311 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.2227, allocations: 16 kB / 0.6311 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009994/0.2237, allocations: 453 kB / 0.6315 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002799/0.2265, allocations: 1.702 MB / 0.6332 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009291/0.2274, allocations: 425.7 kB / 0.6336 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004493/0.2278, allocations: 222.2 kB / 0.6338 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.687e-05/0.2279, allocations: 8.438 kB / 0.6338 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005555/0.2284, allocations: 266.2 kB / 0.6341 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=49): time 2.455e-06/0.2284, allocations: 0 / 0.6341 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=49): time 0.001325/0.2298, allocations: 0.5787 MB / 0.6346 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.2298, allocations: 63.89 kB / 0.6347 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005521/0.2304, allocations: 430.5 kB / 0.6351 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.377e-05/0.2304, allocations: 37.7 kB / 0.6351 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002686/0.2307, allocations: 336.8 kB / 0.6355 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.2308, allocations: 174.5 kB / 0.6356 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.231, allocations: 94.3 kB / 0.6357 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.2311, allocations: 366.8 kB / 0.6361 GB, free: 340 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004151/0.2316, allocations: 190.9 kB / 0.6362 GB, free: 144 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004937/0.2321, allocations: 284.4 kB / 0.6365 GB, free: 15.82 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008374/0.2329, allocations: 455.2 kB / 0.6369 GB, free: 15.35 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2329, allocations: 0 / 0.6369 GB, free: 15.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001101/0.234, allocations: 0.5902 MB / 0.6375 GB, free: 14.74 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.092e-05/0.2341, allocations: 33.7 kB / 0.6376 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.2341, allocations: 3.938 kB / 0.6376 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.2341, allocations: 4 kB / 0.6376 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005088/0.2346, allocations: 116.1 kB / 0.6377 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.2346, allocations: 7.938 kB / 0.6377 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003175/0.2349, allocations: 59.64 kB / 0.6377 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.799e-05/0.235, allocations: 16 kB / 0.6378 GB, free: 14.5 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.0002817/0.2353, allocations: 209.7 kB / 0.638 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.657e-05/0.2353, allocations: 59.67 kB / 0.638 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/0.2355, allocations: 65.38 kB / 0.6381 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.2355, allocations: 4 kB / 0.6381 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.2355, allocations: 4 kB / 0.6381 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.2355, allocations: 3.984 kB / 0.6381 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001697/0.2372, allocations: 0.996 MB / 0.6391 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.2372, allocations: 3.938 kB / 0.6391 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004822/0.2377, allocations: 99.81 kB / 0.6392 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.2377, allocations: 0 / 0.6392 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.39e-05/0.2377, allocations: 20 kB / 0.6392 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.2377, allocations: 7.984 kB / 0.6392 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.2377, allocations: 0 / 0.6392 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.2391, allocations: 0.7553 MB / 0.6399 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/0.2393, allocations: 95.5 kB / 0.64 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.675e-05/0.2394, allocations: 12 kB / 0.64 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002831/0.2396, allocations: 27.98 kB / 0.64 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.2398, allocations: 40.36 kB / 0.6401 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/0.2398, allocations: 12 kB / 0.6401 GB, free: 12.03 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003427/0.2401, allocations: 295.1 kB / 0.6404 GB, free: 11.75 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2401, allocations: 0 / 0.6404 GB, free: 11.75 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004689/0.2406, allocations: 143.6 kB / 0.6405 GB, free: 11.61 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.0001509/0.2407, allocations: 119.1 kB / 0.6406 GB, free: 11.48 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009786/0.2417, allocations: 483.3 kB / 0.6411 GB, free: 10.99 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2417, allocations: 4 kB / 0.6411 GB, free: 10.98 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004548/0.2422, allocations: 206.7 kB / 0.6413 GB, free: 10.79 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007453/0.2429, allocations: 144.2 kB / 0.6414 GB, free: 10.65 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002785/0.2457, allocations: 1.357 MB / 0.6428 GB, free: 9.262 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.246, allocations: 288.7 kB / 0.643 GB, free: 8.957 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002642/0.2463, allocations: 60.53 kB / 0.6431 GB, free: 8.898 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.2464, allocations: 44.5 kB / 0.6431 GB, free: 8.852 MB / 0.545 GB Notification: Performance of SimCode: time 8.22e-07/0.2464, allocations: 0 / 0.6431 GB, free: 8.852 MB / 0.545 GB Notification: Performance of Templates: time 0.01269/0.2591, allocations: 5.813 MB / 0.6488 GB, free: 3.184 MB / 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 -s ida -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.805929229944013] Failed to read output from testmodel.py, exit status != 0: 0.2680904569569975 0.284688819 0.06343926400000001 Calling exit ...