Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.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.001419/0.001419, 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.001842/0.001842, allocations: 222.4 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.605/1.605, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.9829/0.9829, allocations: 134 MB / 447.2 MB, free: 9.922 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.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.LimPID") translateModel(IDEAS.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.LimPID") [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.002096/0.002096, allocations: 78.03 kB / 0.6197 GB, free: 6.414 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2067, allocations: 85.9 MB / 0.7036 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.005316/0.212, allocations: 3.367 MB / 0.7069 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002791/0.2148, allocations: 1.325 MB / 0.7082 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003727/0.2152, allocations: 39.69 kB / 0.7082 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003705/0.2155, allocations: 122.7 kB / 0.7083 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0005588/0.2161, allocations: 178.6 kB / 0.7085 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.2174, allocations: 0.5907 MB / 0.7091 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001114/0.2185, allocations: 0.9604 MB / 0.71 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004715/0.219, allocations: 234.2 kB / 0.7102 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004808/0.2194, allocations: 378.4 kB / 0.7106 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004331/0.2199, allocations: 326 kB / 0.7109 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001273/0.22, allocations: 80 kB / 0.711 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.2201, allocations: 80 kB / 0.711 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001832/0.2203, allocations: 187.3 kB / 0.7112 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002923/0.2206, allocations: 298.2 kB / 0.7115 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.2216, allocations: 0.9022 MB / 0.7124 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2216, allocations: 0 / 0.7124 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2216, allocations: 0 / 0.7124 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.543e-05/0.2216, allocations: 0 / 0.7124 GB, free: 7.523 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002151/0.2238, allocations: 1.135 MB / 0.7135 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.2238, allocations: 16.03 kB / 0.7135 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001667/0.224, allocations: 96.33 kB / 0.7136 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.2252, allocations: 0.5583 MB / 0.7141 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001668/0.2253, allocations: 148.4 kB / 0.7143 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.946e-05/0.2254, allocations: 60.33 kB / 0.7143 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.2266, allocations: 0.7595 MB / 0.7151 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.2267, allocations: 4 kB / 0.7151 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.606e-05/0.2267, allocations: 24 kB / 0.7151 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.2267, allocations: 12 kB / 0.7151 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.228, allocations: 431.6 kB / 0.7155 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002753/0.2308, allocations: 1.819 MB / 0.7173 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.232, allocations: 482.8 kB / 0.7178 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004714/0.2325, allocations: 208.7 kB / 0.718 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.799e-05/0.2325, allocations: 7.938 kB / 0.718 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007005/0.2332, allocations: 341.8 kB / 0.7183 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=45): time 2.314e-06/0.2332, allocations: 4 kB / 0.7183 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45): time 0.001521/0.2347, allocations: 0.6117 MB / 0.7189 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.297e-05/0.2348, allocations: 118.5 kB / 0.719 GB, free: 432 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000738/0.2355, allocations: 0.5825 MB / 0.7196 GB, free: 15.83 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.545e-05/0.2356, allocations: 37.7 kB / 0.7196 GB, free: 15.79 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003234/0.2359, allocations: 365 kB / 0.72 GB, free: 15.43 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.2361, allocations: 158.5 kB / 0.7201 GB, free: 15.27 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.2362, allocations: 98.33 kB / 0.7202 GB, free: 15.17 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002023/0.2364, allocations: 378.8 kB / 0.7206 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00049/0.2369, allocations: 213.1 kB / 0.7208 GB, free: 14.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005815/0.2375, allocations: 367.2 kB / 0.7211 GB, free: 14.16 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009747/0.2385, allocations: 485.9 kB / 0.7216 GB, free: 13.65 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.2385, allocations: 0 / 0.7216 GB, free: 13.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001284/0.2398, allocations: 0.6315 MB / 0.7222 GB, free: 13 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.348e-05/0.2398, allocations: 33.69 kB / 0.7222 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.2398, allocations: 4 kB / 0.7222 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.2398, allocations: 4 kB / 0.7223 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004943/0.2403, allocations: 116.1 kB / 0.7224 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.2403, allocations: 4 kB / 0.7224 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004109/0.2408, allocations: 59.64 kB / 0.7224 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.111e-05/0.2408, allocations: 20 kB / 0.7224 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006125/0.2414, allocations: 347 kB / 0.7228 GB, free: 12.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005323/0.2419, allocations: 355.2 kB / 0.7231 GB, free: 12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008745/0.2428, allocations: 454 kB / 0.7235 GB, free: 11.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.863e-06/0.2428, allocations: 0 / 0.7235 GB, free: 11.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001171/0.244, allocations: 0.612 MB / 0.7241 GB, free: 10.89 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.244, allocations: 37.7 kB / 0.7242 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.244, allocations: 0 / 0.7242 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.244, allocations: 8 kB / 0.7242 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004514/0.2445, allocations: 103.8 kB / 0.7243 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.383e-06/0.2445, allocations: 4 kB / 0.7243 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003873/0.2449, allocations: 55.95 kB / 0.7243 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.773e-05/0.2449, allocations: 24 kB / 0.7244 GB, free: 10.66 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0002315/0.2452, allocations: 212.1 kB / 0.7246 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.2453, allocations: 75.47 kB / 0.7246 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001653/0.2454, allocations: 74.77 kB / 0.7247 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.2454, allocations: 4 kB / 0.7247 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.2454, allocations: 0 / 0.7247 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.2454, allocations: 3.984 kB / 0.7247 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006264/0.2461, allocations: 468.7 kB / 0.7252 GB, free: 9.793 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2461, allocations: 0 / 0.7252 GB, free: 9.793 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004692/0.2465, allocations: 87.83 kB / 0.7252 GB, free: 9.707 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.269e-06/0.2465, allocations: 4 kB / 0.7253 GB, free: 9.703 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.2466, allocations: 11.98 kB / 0.7253 GB, free: 9.691 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2466, allocations: 0 / 0.7253 GB, free: 9.691 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2466, allocations: 0 / 0.7253 GB, free: 9.691 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/0.2482, allocations: 0.7436 MB / 0.726 GB, free: 8.926 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002683/0.2484, allocations: 119.3 kB / 0.7261 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.549e-05/0.2485, allocations: 12 kB / 0.7261 GB, free: 8.797 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004046/0.2489, allocations: 35.95 kB / 0.7261 GB, free: 8.762 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.249, allocations: 35.94 kB / 0.7262 GB, free: 8.727 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.38e-05/0.249, allocations: 15.98 kB / 0.7262 GB, free: 8.711 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005292/0.2496, allocations: 403.1 kB / 0.7266 GB, free: 8.324 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2496, allocations: 0 / 0.7266 GB, free: 8.324 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006254/0.2502, allocations: 223.4 kB / 0.7268 GB, free: 8.105 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * 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.0001676/0.2504, allocations: 111.2 kB / 0.7269 GB, free: 7.988 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001656/0.252, allocations: 0.8122 MB / 0.7277 GB, free: 7.141 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.252, allocations: 0 / 0.7277 GB, free: 7.141 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004764/0.2525, allocations: 208 kB / 0.7279 GB, free: 6.938 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008759/0.2534, allocations: 204.1 kB / 0.7281 GB, free: 6.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00228/0.2557, allocations: 1.219 MB / 0.7293 GB, free: 5.488 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.256, allocations: 330.5 kB / 0.7296 GB, free: 5.137 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.2562, allocations: 55.42 kB / 0.7296 GB, free: 5.082 MB / 0.545 GB Notification: Performance of SimCode: time 6.01e-07/0.2562, allocations: 0 / 0.7296 GB, free: 5.082 MB / 0.545 GB Notification: Performance of Templates: time 0.01431/0.2705, allocations: 8.908 MB / 0.7383 GB, free: 12.24 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.034341347869486] Failed to read output from testmodel.py, exit status != 0: 0.2797397579997778 0.706079899 0.069896583 Calling exit ...