Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04348/0.04348, allocations: 9.133 MB / 28.99 MB, free: 6.117 MB / 24.77 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.0008842/0.0008842, allocations: 94.64 kB / 35.33 MB, free: 0.7812 MB / 24.77 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.001306/0.001306, allocations: 169.1 kB / 38.73 MB, free: 2.133 MB / 24.77 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.004/1.004, allocations: 177.2 MB / 219.2 MB, free: 10.07 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.01131/0.01131, allocations: 0.8258 MB / 276.5 MB, free: 0.6914 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.629/1.629, allocations: 274.9 MB / 0.5419 GB, free: 0.6094 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.Continuous.Examples.LimPIDWithReset") translateModel(AixLib.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 0.6378 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.19e-05/1.304e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.Continuous.Examples.LimPIDWithReset): time 0.003813/0.003826, allocations: 3.99 MB / 0.6417 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.00191/0.005736, allocations: 1.398 MB / 0.6431 GB, free: 8.707 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002565/0.005993, allocations: 27.81 kB / 0.6431 GB, free: 8.68 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0002605/0.006253, allocations: 126.7 kB / 0.6433 GB, free: 8.555 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.000236/0.006489, allocations: 198.2 kB / 0.6434 GB, free: 8.359 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005148/0.007004, allocations: 411.4 kB / 0.6438 GB, free: 7.957 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.000913/0.007917, allocations: 0.9746 MB / 0.6448 GB, free: 6.98 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000336/0.008253, allocations: 298.6 kB / 0.6451 GB, free: 6.656 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003843/0.008637, allocations: 0.4989 MB / 0.6456 GB, free: 6.156 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002159/0.008853, allocations: 235.2 kB / 0.6458 GB, free: 5.926 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 7.105e-05/0.008924, allocations: 88 kB / 0.6459 GB, free: 5.84 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 6.329e-05/0.008988, allocations: 88 kB / 0.646 GB, free: 5.754 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 9.017e-05/0.009078, allocations: 179.3 kB / 0.6461 GB, free: 5.578 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.009227, allocations: 247.3 kB / 0.6464 GB, free: 5.336 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0004408/0.009668, allocations: 0.5759 MB / 0.6469 GB, free: 4.758 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.00967, allocations: 0 / 0.6469 GB, free: 4.758 MB / 0.6043 GB Notification: Performance of FrontEnd: time 7.72e-07/0.009671, allocations: 0 / 0.6469 GB, free: 4.758 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.009676, allocations: 0 / 0.6469 GB, free: 4.758 MB / 0.6043 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.0009873/0.01066, allocations: 0.9718 MB / 0.6479 GB, free: 3.754 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.01069, allocations: 15.98 kB / 0.6479 GB, free: 3.738 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.102e-05/0.01079, allocations: 100.8 kB / 0.648 GB, free: 3.641 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004388/0.01122, allocations: 425.3 kB / 0.6484 GB, free: 3.195 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.01125, allocations: 41.69 kB / 0.6484 GB, free: 3.152 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.985e-05/0.01131, allocations: 64.36 kB / 0.6485 GB, free: 3.09 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004136/0.01173, allocations: 490 kB / 0.649 GB, free: 2.574 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.01175, allocations: 4.125 kB / 0.649 GB, free: 2.57 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.177e-05/0.01178, allocations: 24.38 kB / 0.649 GB, free: 2.547 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.01179, allocations: 19.94 kB / 0.649 GB, free: 2.527 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001992/0.01199, allocations: 166.3 kB / 0.6492 GB, free: 2.367 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.01322, allocations: 1.283 MB / 0.6504 GB, free: 1.047 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002527/0.01347, allocations: 221.6 kB / 0.6506 GB, free: 0.8164 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.51e-05/0.01357, allocations: 98.23 kB / 0.6507 GB, free: 0.7188 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.01359, allocations: 8.5 kB / 0.6507 GB, free: 0.7109 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/0.01376, allocations: 166.2 kB / 0.6509 GB, free: 0.5352 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=49): time 1.833e-06/0.01376, allocations: 4 kB / 0.6509 GB, free: 0.5312 MB / 0.6043 GB Notification: Performance of matching and sorting (n=49): time 0.0005832/0.01435, allocations: 258 kB / 0.6511 GB, free: 280 kB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.01437, allocations: 55.91 kB / 0.6512 GB, free: 212 kB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.01459, allocations: 383.1 kB / 0.6516 GB, free: 15.82 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.01461, allocations: 37.7 kB / 0.6516 GB, free: 15.78 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.01473, allocations: 278.1 kB / 0.6519 GB, free: 15.5 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 7.846e-05/0.01481, allocations: 174.5 kB / 0.652 GB, free: 15.33 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.298e-05/0.01489, allocations: 94.28 kB / 0.6521 GB, free: 15.23 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.01499, allocations: 370.6 kB / 0.6525 GB, free: 14.86 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.781e-05/0.01507, allocations: 82.92 kB / 0.6525 GB, free: 14.78 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.01518, allocations: 168.4 kB / 0.6527 GB, free: 14.58 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.01538, allocations: 247.1 kB / 0.6529 GB, free: 14.3 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.01538, allocations: 8 kB / 0.653 GB, free: 14.3 MB / 0.6199 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0002683/0.01565, allocations: 317.8 kB / 0.6533 GB, free: 13.96 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.01568, allocations: 37.69 kB / 0.6533 GB, free: 13.92 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.01569, allocations: 0 / 0.6533 GB, free: 13.92 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.0157, allocations: 8 kB / 0.6533 GB, free: 13.91 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/0.01599, allocations: 132 kB / 0.6534 GB, free: 13.79 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.016, allocations: 8 kB / 0.6534 GB, free: 13.78 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.01611, allocations: 63.61 kB / 0.6535 GB, free: 13.71 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.01613, allocations: 12 kB / 0.6535 GB, free: 13.7 MB / 0.6199 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 (conNoRes.conPID.I.trigger_internal,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2) * 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.0001169/0.01625, allocations: 145.6 kB / 0.6536 GB, free: 13.55 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.25e-05/0.01629, allocations: 47.95 kB / 0.6537 GB, free: 13.5 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.078e-05/0.01635, allocations: 65.44 kB / 0.6537 GB, free: 13.44 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.01635, allocations: 4 kB / 0.6538 GB, free: 13.44 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.01636, allocations: 7.938 kB / 0.6538 GB, free: 13.43 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.01636, allocations: 3.984 kB / 0.6538 GB, free: 13.43 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005529/0.01692, allocations: 0.5797 MB / 0.6543 GB, free: 12.82 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01692, allocations: 0 / 0.6543 GB, free: 12.82 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.01716, allocations: 111.8 kB / 0.6544 GB, free: 12.71 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.01717, allocations: 7.938 kB / 0.6544 GB, free: 12.71 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.01719, allocations: 8 kB / 0.6545 GB, free: 12.7 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.01719, allocations: 0 / 0.6545 GB, free: 12.7 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.01719, allocations: 0 / 0.6545 GB, free: 12.7 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003456/0.01754, allocations: 410.8 kB / 0.6548 GB, free: 12.28 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 7.839e-05/0.01762, allocations: 59.44 kB / 0.6549 GB, free: 12.22 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.01765, allocations: 15.98 kB / 0.6549 GB, free: 12.2 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.01775, allocations: 15.98 kB / 0.6549 GB, free: 12.19 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/0.0178, allocations: 36.44 kB / 0.655 GB, free: 12.15 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.01782, allocations: 15.98 kB / 0.655 GB, free: 12.14 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 0.0001052/0.01792, allocations: 156.7 kB / 0.6551 GB, free: 11.98 MB / 0.6199 GB Notification: Performance of sort global known variables: time 4e-08/0.01792, allocations: 4 kB / 0.6551 GB, free: 11.98 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.0002156/0.01814, allocations: 139.6 kB / 0.6553 GB, free: 11.84 MB / 0.6199 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * 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 8.453e-05/0.01822, allocations: 100.3 kB / 0.6554 GB, free: 11.73 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0002601/0.01848, allocations: 301.5 kB / 0.6557 GB, free: 11.42 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.01849, allocations: 8 kB / 0.6557 GB, free: 11.41 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.0186, allocations: 116.7 kB / 0.6558 GB, free: 11.3 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.01894, allocations: 150.3 kB / 0.6559 GB, free: 11.15 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.02022, allocations: 1.104 MB / 0.657 GB, free: 10.01 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.773e-05/0.0203, allocations: 129.9 kB / 0.6571 GB, free: 9.867 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.0001509/0.02045, allocations: 68.53 kB / 0.6572 GB, free: 9.797 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/0.02066, allocations: 165.2 kB / 0.6573 GB, free: 9.633 MB / 0.6199 GB Notification: Performance of SimCode: time 8.62e-07/0.02066, allocations: 0 / 0.6573 GB, free: 9.633 MB / 0.6199 GB Notification: Performance of Templates: time 0.00877/0.02943, allocations: 6.443 MB / 0.6636 GB, free: 3.184 MB / 0.6199 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo AixLib_AixLib.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < AixLib_AixLib.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/AixLib_AixLib.Controls.Continuous.Examples.LimPIDWithReset.sim & ./AixLib_AixLib.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.362778012175113]