Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001757/0.001757, allocations: 71.77 kB / 20.51 MB, free: 1.125 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.002171/0.002171, allocations: 163.8 kB / 23.76 MB, free: 4.195 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.461/1.461, allocations: 177.2 MB / 204.1 MB, free: 8.91 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9553/0.9553, allocations: 113.9 MB / 374.5 MB, free: 12.86 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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: translateModel(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 660] "Notification: IBPSA 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.002391/0.002391, allocations: 65.7 kB / 0.555 GB, free: 2.746 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1862, allocations: 89.15 MB / 0.6421 GB, free: 9.559 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.006174/0.1924, allocations: 3.704 MB / 0.6457 GB, free: 5.836 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003154/0.1956, allocations: 1.332 MB / 0.647 GB, free: 4.496 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007826/0.1963, allocations: 27.81 kB / 0.647 GB, free: 4.469 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005409/0.1969, allocations: 134.7 kB / 0.6471 GB, free: 4.336 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007516/0.1976, allocations: 182.4 kB / 0.6473 GB, free: 4.156 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.1988, allocations: 412.5 kB / 0.6477 GB, free: 3.758 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00147/0.2003, allocations: 0.9554 MB / 0.6486 GB, free: 2.801 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006868/0.201, allocations: 290.6 kB / 0.6489 GB, free: 2.492 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005974/0.2016, allocations: 350.7 kB / 0.6493 GB, free: 2.148 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005474/0.2021, allocations: 290.4 kB / 0.6495 GB, free: 1.863 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.2023, allocations: 92 kB / 0.6496 GB, free: 1.773 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.2024, allocations: 88 kB / 0.6497 GB, free: 1.688 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001735/0.2026, allocations: 183.4 kB / 0.6499 GB, free: 1.508 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003259/0.2029, allocations: 306.5 kB / 0.6502 GB, free: 1.207 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001156/0.2041, allocations: 1.074 MB / 0.6512 GB, free: 132 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2041, allocations: 0 / 0.6512 GB, free: 132 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2041, allocations: 0 / 0.6512 GB, free: 132 kB / 0.545 GB Notification: Performance of Transformations before backend: time 9.878e-06/0.2041, allocations: 0 / 0.6512 GB, free: 132 kB / 0.545 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.001959/0.206, allocations: 1.092 MB / 0.6523 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.2061, allocations: 8.031 kB / 0.6523 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.2062, allocations: 84.42 kB / 0.6524 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009829/0.2072, allocations: 0.4999 MB / 0.6529 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.155e-05/0.2073, allocations: 45.67 kB / 0.6529 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.424e-05/0.2074, allocations: 60.38 kB / 0.653 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.2087, allocations: 0.658 MB / 0.6536 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.896e-05/0.2087, allocations: 0 / 0.6536 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.679e-05/0.2088, allocations: 23.98 kB / 0.6536 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.004e-05/0.2088, allocations: 19.98 kB / 0.6536 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.21, allocations: 461 kB / 0.6541 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003538/0.2135, allocations: 1.702 MB / 0.6557 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.2145, allocations: 413.7 kB / 0.6561 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005015/0.215, allocations: 230.2 kB / 0.6564 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.25e-05/0.2151, allocations: 12.44 kB / 0.6564 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000662/0.2157, allocations: 258.2 kB / 0.6566 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=49): time 2.114e-06/0.2157, allocations: 0 / 0.6566 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49): time 0.001491/0.2172, allocations: 0.5787 MB / 0.6572 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.774e-05/0.2173, allocations: 67.91 kB / 0.6573 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006339/0.2179, allocations: 438.5 kB / 0.6577 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.041e-05/0.218, allocations: 33.7 kB / 0.6577 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003571/0.2183, allocations: 336.8 kB / 0.658 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002006/0.2185, allocations: 170.5 kB / 0.6582 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/0.2187, allocations: 98.3 kB / 0.6583 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002207/0.219, allocations: 362.8 kB / 0.6586 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004303/0.2194, allocations: 194.9 kB / 0.6588 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000555/0.2199, allocations: 284.3 kB / 0.6591 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009061/0.2209, allocations: 455.2 kB / 0.6595 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.2209, allocations: 0 / 0.6595 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001189/0.222, allocations: 0.5786 MB / 0.6601 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.396e-05/0.2221, allocations: 41.94 kB / 0.6601 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.2221, allocations: 7.938 kB / 0.6601 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.2221, allocations: 4 kB / 0.6601 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005405/0.2227, allocations: 119.8 kB / 0.6602 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.308e-05/0.2227, allocations: 7.984 kB / 0.6603 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003706/0.2231, allocations: 63.59 kB / 0.6603 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.196e-05/0.2231, allocations: 19.94 kB / 0.6603 GB, free: 6.457 MB / 0.5606 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.0003067/0.2234, allocations: 205.7 kB / 0.6605 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.957e-05/0.2235, allocations: 59.67 kB / 0.6606 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/0.2236, allocations: 69.38 kB / 0.6607 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.2236, allocations: 4 kB / 0.6607 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.2237, allocations: 0 / 0.6607 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.2237, allocations: 3.984 kB / 0.6607 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001838/0.2255, allocations: 1 MB / 0.6616 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.2255, allocations: 7.938 kB / 0.6616 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004809/0.226, allocations: 95.88 kB / 0.6617 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.308e-06/0.226, allocations: 4 kB / 0.6617 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/0.226, allocations: 4 kB / 0.6617 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.226, allocations: 4 kB / 0.6617 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.226, allocations: 0 / 0.6617 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.2275, allocations: 0.7709 MB / 0.6625 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002029/0.2277, allocations: 95.52 kB / 0.6626 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.929e-05/0.2278, allocations: 11.98 kB / 0.6626 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002972/0.2281, allocations: 23.98 kB / 0.6626 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.2282, allocations: 36.42 kB / 0.6627 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/0.2282, allocations: 12 kB / 0.6627 GB, free: 4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000364/0.2286, allocations: 295.1 kB / 0.663 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2286, allocations: 0 / 0.663 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004897/0.2291, allocations: 147.6 kB / 0.6631 GB, free: 3.57 MB / 0.5606 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.0001392/0.2292, allocations: 115.2 kB / 0.6632 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001059/0.2303, allocations: 487.2 kB / 0.6637 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2303, allocations: 4.438 kB / 0.6637 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004443/0.2307, allocations: 206.8 kB / 0.6639 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007952/0.2315, allocations: 150 kB / 0.664 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003143/0.2346, allocations: 1.353 MB / 0.6653 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.235, allocations: 292.7 kB / 0.6656 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002835/0.2353, allocations: 64.55 kB / 0.6657 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.2354, allocations: 36.5 kB / 0.6657 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of SimCode: time 7.92e-07/0.2354, allocations: 0 / 0.6657 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of Templates: time 0.01371/0.2491, allocations: 5.809 MB / 0.6714 GB, free: 11.13 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.790591983939521] Failed to read output from testmodel.py, exit status != 0: 0.25861984596122056 0.27420768500000003 0.066886318 Calling exit ...