Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 107.4 kB / 16.4 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002203/0.002203, allocations: 198.7 kB / 19.35 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.1 MB / 227.2 MB, free: 12.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2912/0.2912, allocations: 54.95 MB / 331.5 MB, free: 2.758 MB / 270.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset") translateModel(Annex60.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002223/0.002223, allocations: 74.86 kB / 464.9 MB, free: 396 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1704, allocations: 59.6 MB / 0.5122 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Validation.LimPIDReset): time 0.006048/0.1765, allocations: 4.33 MB / 0.5164 GB, free: 480 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003763/0.1803, allocations: 1.699 MB / 0.5181 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005803/0.1809, allocations: 35.81 kB / 0.5181 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005457/0.1815, allocations: 162.2 kB / 0.5183 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007494/0.1823, allocations: 233.6 kB / 0.5185 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001636/0.1839, allocations: 0.7269 MB / 0.5192 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001675/0.1856, allocations: 1.273 MB / 0.5204 GB, free: 12.35 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009159/0.1866, allocations: 0.5002 MB / 0.5209 GB, free: 11.83 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.1876, allocations: 477.8 kB / 0.5214 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007553/0.1884, allocations: 465.4 kB / 0.5218 GB, free: 10.9 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001818/0.1886, allocations: 104 kB / 0.5219 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.1887, allocations: 108 kB / 0.522 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002424/0.189, allocations: 235.1 kB / 0.5223 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005489/0.1895, allocations: 0.4931 MB / 0.5227 GB, free: 9.969 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001657/0.1912, allocations: 1.186 MB / 0.5239 GB, free: 8.777 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1912, allocations: 0 / 0.5239 GB, free: 8.777 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1912, allocations: 0 / 0.5239 GB, free: 8.777 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.834e-05/0.1913, allocations: 0 / 0.5239 GB, free: 8.777 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.002901/0.1942, allocations: 1.445 MB / 0.5253 GB, free: 7.273 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.1942, allocations: 12.03 kB / 0.5253 GB, free: 7.262 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002515/0.1945, allocations: 132.1 kB / 0.5254 GB, free: 7.133 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00183/0.1963, allocations: 0.7906 MB / 0.5262 GB, free: 6.301 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/0.1965, allocations: 84.27 kB / 0.5263 GB, free: 6.215 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.1966, allocations: 83.88 kB / 0.5264 GB, free: 6.133 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/0.1985, allocations: 0.7445 MB / 0.5271 GB, free: 5.348 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.1985, allocations: 0 / 0.5271 GB, free: 5.348 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.423e-05/0.1986, allocations: 28 kB / 0.5271 GB, free: 5.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.932e-05/0.1986, allocations: 16 kB / 0.5271 GB, free: 5.305 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.1998, allocations: 0.5243 MB / 0.5277 GB, free: 4.777 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004407/0.2042, allocations: 2.282 MB / 0.5299 GB, free: 2.422 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/0.2058, allocations: 0.6205 MB / 0.5305 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005647/0.2063, allocations: 278.4 kB / 0.5308 GB, free: 1.523 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.701e-05/0.2064, allocations: 8.562 kB / 0.5308 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008142/0.2072, allocations: 323 kB / 0.5311 GB, free: 1.184 MB / 414.1 MB Notification: Performance of pre-optimization done (n=60): time 2.886e-06/0.2072, allocations: 3.938 kB / 0.5311 GB, free: 1.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=60): time 0.001921/0.2092, allocations: 0.7679 MB / 0.5318 GB, free: 416 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.943e-05/0.2093, allocations: 81.67 kB / 0.5319 GB, free: 316 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2805/0.4898, allocations: 0.7663 MB / 0.5327 GB, free: 25.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001878/0.49, allocations: 37.02 kB / 0.5327 GB, free: 25.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003808/0.4904, allocations: 455.7 kB / 0.5331 GB, free: 25.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/0.4906, allocations: 214.5 kB / 0.5333 GB, free: 25.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/0.4908, allocations: 113.5 kB / 0.5334 GB, free: 25.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.536e-05/0.4909, allocations: 329.1 kB / 0.5338 GB, free: 25.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005534/0.4915, allocations: 215.6 kB / 0.534 GB, free: 25.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000602/0.4921, allocations: 306.8 kB / 0.5343 GB, free: 25.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.4931, allocations: 0.5169 MB / 0.5348 GB, free: 25.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.4931, allocations: 1.125 kB / 0.5348 GB, free: 25.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001394/0.4945, allocations: 0.6686 MB / 0.5354 GB, free: 24.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.4946, allocations: 9.219 kB / 0.5354 GB, free: 24.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.4946, allocations: 3.406 kB / 0.5354 GB, free: 24.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.741e-05/0.4946, allocations: 8.734 kB / 0.5354 GB, free: 24.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006623/0.4953, allocations: 148.2 kB / 0.5356 GB, free: 24.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.4953, allocations: 5.141 kB / 0.5356 GB, free: 24.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004261/0.4957, allocations: 71.14 kB / 0.5356 GB, free: 24.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.492e-05/0.4958, allocations: 20.38 kB / 0.5357 GB, free: 24.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005128/0.4963, allocations: 342.9 kB / 0.536 GB, free: 24.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003782/0.4967, allocations: 273.2 kB / 0.5363 GB, free: 24.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006461/0.4974, allocations: 477.1 kB / 0.5367 GB, free: 24.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.635e-06/0.4974, allocations: 0.6562 kB / 0.5367 GB, free: 24.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.0009021/0.4983, allocations: 0.6089 MB / 0.5373 GB, free: 23.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.4983, allocations: 9.656 kB / 0.5373 GB, free: 23.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.4983, allocations: 2.781 kB / 0.5373 GB, free: 23.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.954e-06/0.4983, allocations: 7.594 kB / 0.5373 GB, free: 23.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005318/0.4989, allocations: 137.5 kB / 0.5375 GB, free: 23.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.4989, allocations: 4.859 kB / 0.5375 GB, free: 23.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000326/0.4992, allocations: 55.58 kB / 0.5375 GB, free: 23.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.453e-05/0.4993, allocations: 24.45 kB / 0.5375 GB, free: 23.88 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * 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.0001588/0.4994, allocations: 217.5 kB / 0.5377 GB, free: 23.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.4995, allocations: 95.91 kB / 0.5378 GB, free: 23.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001948/0.4997, allocations: 107.3 kB / 0.5379 GB, free: 23.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.4997, allocations: 7.281 kB / 0.5379 GB, free: 23.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/0.4998, allocations: 0 / 0.5379 GB, free: 23.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.4998, allocations: 4.891 kB / 0.5379 GB, free: 23.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/0.5021, allocations: 1.451 MB / 0.5394 GB, free: 22.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.5021, allocations: 0.5625 kB / 0.5394 GB, free: 22.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005402/0.5026, allocations: 106.7 kB / 0.5395 GB, free: 22.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.5026, allocations: 3.844 kB / 0.5395 GB, free: 22.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.982e-05/0.5027, allocations: 13.84 kB / 0.5395 GB, free: 22.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.5027, allocations: 2.812 kB / 0.5395 GB, free: 22.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5027, allocations: 3.906 kB / 0.5395 GB, free: 22.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/0.5044, allocations: 0.9712 MB / 0.5404 GB, free: 22.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002226/0.5046, allocations: 231.2 kB / 0.5407 GB, free: 22.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.631e-05/0.5047, allocations: 12.69 kB / 0.5407 GB, free: 22.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004228/0.5052, allocations: 34.3 kB / 0.5407 GB, free: 22.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.5053, allocations: 37.08 kB / 0.5407 GB, free: 22.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.652e-05/0.5053, allocations: 19 kB / 0.5408 GB, free: 22.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007111/0.5061, allocations: 0.5289 MB / 0.5413 GB, free: 21.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5061, allocations: 0 / 0.5413 GB, free: 21.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008336/0.5069, allocations: 282.4 kB / 0.5415 GB, free: 21.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001413/0.507, allocations: 113.3 kB / 0.5416 GB, free: 21.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001589/0.5086, allocations: 0.7847 MB / 0.5424 GB, free: 21.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.5087, allocations: 0.6875 kB / 0.5424 GB, free: 21.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000502/0.5092, allocations: 266.1 kB / 0.5427 GB, free: 21.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.5104, allocations: 292.5 kB / 0.5429 GB, free: 21.33 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/0.5131, allocations: 1.599 MB / 0.5445 GB, free: 20.47 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006709/0.5137, allocations: 0.9967 MB / 0.5455 GB, free: 19.76 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004817/0.5142, allocations: 120.7 kB / 0.5456 GB, free: 19.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.5144, allocations: 65.7 kB / 0.5457 GB, free: 19.72 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.5144, allocations: 0 / 0.5457 GB, free: 19.72 MB / 414.1 MB Notification: Performance of Templates: time 0.02613/0.5406, allocations: 9.868 MB / 0.5553 GB, free: 17.96 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.978135455399752]