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.001627/0.001627, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001989/0.001989, allocations: 212.3 kB / 22.24 MB, free: 4.855 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.577/1.577, allocations: 230.6 MB / 256 MB, free: 7.801 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.9263/0.9263, allocations: 134 MB / 446.4 MB, free: 9.949 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.002131/0.002131, allocations: 62.09 kB / 0.6189 GB, free: 6.406 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2212, allocations: 85.9 MB / 0.7028 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.007331/0.2285, allocations: 3.733 MB / 0.7065 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00383/0.2323, allocations: 1.332 MB / 0.7078 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009821/0.2333, allocations: 27.81 kB / 0.7078 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007509/0.2341, allocations: 130.7 kB / 0.7079 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0009546/0.235, allocations: 182.4 kB / 0.7081 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001619/0.2366, allocations: 416 kB / 0.7085 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002299/0.2389, allocations: 0.9593 MB / 0.7094 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/0.24, allocations: 294.6 kB / 0.7097 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009163/0.2409, allocations: 342.7 kB / 0.71 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008264/0.2417, allocations: 290.4 kB / 0.7103 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003275/0.242, allocations: 88 kB / 0.7104 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003026/0.2423, allocations: 92 kB / 0.7105 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002737/0.2426, allocations: 187.3 kB / 0.7107 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006362/0.2433, allocations: 294.6 kB / 0.7109 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001827/0.2451, allocations: 1.078 MB / 0.712 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.016e-05/0.2451, allocations: 4 kB / 0.712 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.677e-06/0.2451, allocations: 4 kB / 0.712 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.225e-05/0.2452, allocations: 0 / 0.712 GB, free: 7.129 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.003005/0.2482, allocations: 1.08 MB / 0.7131 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.459e-05/0.2482, allocations: 11.97 kB / 0.7131 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002106/0.2484, allocations: 88.42 kB / 0.7132 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.2497, allocations: 0.4999 MB / 0.7136 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.74e-05/0.2498, allocations: 45.69 kB / 0.7137 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.2499, allocations: 64.33 kB / 0.7137 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.2512, allocations: 0.658 MB / 0.7144 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/0.2513, allocations: 4 kB / 0.7144 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.664e-05/0.2513, allocations: 28 kB / 0.7144 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.2514, allocations: 12 kB / 0.7144 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.2524, allocations: 464.9 kB / 0.7149 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003011/0.2554, allocations: 1.702 MB / 0.7165 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009534/0.2564, allocations: 421.5 kB / 0.7169 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004452/0.2568, allocations: 222.1 kB / 0.7172 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.005e-05/0.2568, allocations: 8.422 kB / 0.7172 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006016/0.2574, allocations: 257.4 kB / 0.7174 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=49): time 2.605e-06/0.2574, allocations: 0 / 0.7174 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=49): time 0.001404/0.2588, allocations: 0.5846 MB / 0.718 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/0.2589, allocations: 59.83 kB / 0.718 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005988/0.2595, allocations: 434.5 kB / 0.7184 GB, free: 332 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.098e-05/0.2596, allocations: 37.7 kB / 0.7185 GB, free: 288 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003391/0.2599, allocations: 328.8 kB / 0.7188 GB, free: 15.95 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001823/0.2601, allocations: 178.5 kB / 0.719 GB, free: 15.78 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001778/0.2603, allocations: 94.3 kB / 0.7191 GB, free: 15.68 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002233/0.2605, allocations: 370.8 kB / 0.7194 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004144/0.2609, allocations: 190.9 kB / 0.7196 GB, free: 15.11 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004897/0.2614, allocations: 280.4 kB / 0.7199 GB, free: 14.81 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008718/0.2623, allocations: 451 kB / 0.7203 GB, free: 14.33 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.2623, allocations: 0 / 0.7203 GB, free: 14.33 MB / 0.545 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001163/0.2634, allocations: 0.5941 MB / 0.7209 GB, free: 13.72 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.182e-05/0.2635, allocations: 32.05 kB / 0.7209 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.2635, allocations: 7.938 kB / 0.7209 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.2635, allocations: 4 kB / 0.7209 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005291/0.264, allocations: 115.8 kB / 0.721 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.2641, allocations: 4 kB / 0.721 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003495/0.2644, allocations: 59.89 kB / 0.7211 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.237e-05/0.2644, allocations: 24 kB / 0.7211 GB, free: 13.47 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.0003526/0.2648, allocations: 208.4 kB / 0.7213 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.109e-05/0.2649, allocations: 51.67 kB / 0.7214 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001624/0.265, allocations: 69.38 kB / 0.7214 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.265, allocations: 4 kB / 0.7214 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.2651, allocations: 3.938 kB / 0.7214 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.2651, allocations: 7.922 kB / 0.7214 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001836/0.2669, allocations: 1.002 MB / 0.7224 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.423e-06/0.2669, allocations: 3.938 kB / 0.7224 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004644/0.2674, allocations: 95.88 kB / 0.7225 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2674, allocations: 0 / 0.7225 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.432e-05/0.2674, allocations: 12 kB / 0.7225 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2674, allocations: 0 / 0.7225 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.2674, allocations: 7.984 kB / 0.7225 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.2689, allocations: 0.7613 MB / 0.7233 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/0.2691, allocations: 99.48 kB / 0.7234 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.156e-05/0.2691, allocations: 12 kB / 0.7234 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002717/0.2694, allocations: 19.98 kB / 0.7234 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.2695, allocations: 36.36 kB / 0.7234 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/0.2695, allocations: 20.12 kB / 0.7235 GB, free: 11.01 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003984/0.2699, allocations: 295.1 kB / 0.7237 GB, free: 10.72 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2699, allocations: 0 / 0.7237 GB, free: 10.72 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005359/0.2705, allocations: 143.6 kB / 0.7239 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.0001766/0.2707, allocations: 115.2 kB / 0.724 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001046/0.2717, allocations: 486.5 kB / 0.7244 GB, free: 9.969 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2717, allocations: 0 / 0.7244 GB, free: 9.969 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000427/0.2721, allocations: 206.3 kB / 0.7246 GB, free: 9.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008204/0.2729, allocations: 158.2 kB / 0.7248 GB, free: 9.625 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00294/0.2759, allocations: 1.357 MB / 0.7261 GB, free: 8.234 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.2762, allocations: 300.5 kB / 0.7264 GB, free: 7.918 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002875/0.2765, allocations: 52.55 kB / 0.7265 GB, free: 7.867 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.2766, allocations: 43.44 kB / 0.7265 GB, free: 7.824 MB / 0.545 GB Notification: Performance of SimCode: time 8.31e-07/0.2766, allocations: 4 kB / 0.7265 GB, free: 7.82 MB / 0.545 GB Notification: Performance of Templates: time 0.0141/0.2907, allocations: 6.525 MB / 0.7329 GB, free: 1.43 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 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.528152605518699] Failed to read output from testmodel.py, exit status != 0: 0.29913777858018875 0.31574787000000004 0.067226452 Calling exit ...