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.04999/0.04999, allocations: 9.133 MB / 28.99 MB, free: 0.8125 MB / 18.57 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.0009511/0.0009511, allocations: 90.38 kB / 35.33 MB, free: 1.074 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.001344/0.001344, allocations: 166 kB / 38.73 MB, free: 2.512 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 0.9558/0.9558, allocations: 177.1 MB / 219.2 MB, free: 10.12 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.003927/0.003927, allocations: 0.8217 MB / 276.5 MB, free: 0.7461 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.6289 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.543e-06/1.543e-06, allocations: 0 / 0.6378 GB, free: 14.2 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.535e-05/1.689e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.19 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.Continuous.Examples.LimPIDWithReset): time 0.003571/0.003588, allocations: 3.936 MB / 0.6416 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.00175/0.005338, allocations: 1.405 MB / 0.643 GB, free: 8.82 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002413/0.00558, allocations: 27.81 kB / 0.643 GB, free: 8.793 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.005843, allocations: 126.7 kB / 0.6432 GB, free: 8.668 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.000261/0.006104, allocations: 194.2 kB / 0.6433 GB, free: 8.477 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.000588/0.006692, allocations: 415.3 kB / 0.6437 GB, free: 8.07 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0006262/0.007318, allocations: 0.9746 MB / 0.6447 GB, free: 7.094 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003286/0.007647, allocations: 298.6 kB / 0.645 GB, free: 6.77 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003794/0.008026, allocations: 0.5067 MB / 0.6455 GB, free: 6.262 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.008237, allocations: 231.2 kB / 0.6457 GB, free: 6.035 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 7.153e-05/0.008309, allocations: 88 kB / 0.6458 GB, free: 5.949 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 6.529e-05/0.008374, allocations: 88 kB / 0.6459 GB, free: 5.863 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 9.521e-05/0.008469, allocations: 179.3 kB / 0.646 GB, free: 5.688 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 0.0001542/0.008623, allocations: 243.4 kB / 0.6463 GB, free: 5.449 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0004905/0.009114, allocations: 0.5719 MB / 0.6468 GB, free: 4.875 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.009117, allocations: 0 / 0.6468 GB, free: 4.875 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.71e-07/0.009117, allocations: 4 kB / 0.6468 GB, free: 4.871 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.009122, allocations: 4 kB / 0.6468 GB, free: 4.867 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.0009431/0.01007, allocations: 0.9718 MB / 0.6478 GB, free: 3.863 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.0101, allocations: 11.98 kB / 0.6478 GB, free: 3.852 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.958e-05/0.0102, allocations: 100.8 kB / 0.6479 GB, free: 3.754 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004731/0.01067, allocations: 425.3 kB / 0.6483 GB, free: 3.309 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.87e-05/0.0107, allocations: 45.69 kB / 0.6483 GB, free: 3.262 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.808e-05/0.01076, allocations: 60.38 kB / 0.6484 GB, free: 3.203 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004293/0.01119, allocations: 493.9 kB / 0.6489 GB, free: 2.68 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.0112, allocations: 192 / 0.6489 GB, free: 2.68 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/0.01123, allocations: 24.38 kB / 0.6489 GB, free: 2.656 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.01124, allocations: 15.94 kB / 0.6489 GB, free: 2.641 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/0.01144, allocations: 162.3 kB / 0.6491 GB, free: 2.484 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.01273, allocations: 1.29 MB / 0.6503 GB, free: 1.156 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.01299, allocations: 225.4 kB / 0.6505 GB, free: 0.9219 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.759e-05/0.01309, allocations: 106.2 kB / 0.6506 GB, free: 0.8164 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.01312, allocations: 8.5 kB / 0.6506 GB, free: 0.8086 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001691/0.01329, allocations: 162.2 kB / 0.6508 GB, free: 0.6367 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=49): time 1.753e-06/0.01329, allocations: 0 / 0.6508 GB, free: 0.6367 MB / 0.6043 GB Notification: Performance of matching and sorting (n=49): time 0.0003091/0.0136, allocations: 262 kB / 0.6511 GB, free: 384 kB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.01363, allocations: 59.91 kB / 0.6511 GB, free: 312 kB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.01386, allocations: 383.2 kB / 0.6515 GB, free: 15.92 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.01389, allocations: 33.7 kB / 0.6515 GB, free: 15.88 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.01401, allocations: 278.1 kB / 0.6518 GB, free: 15.61 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 8.404e-05/0.0141, allocations: 170.5 kB / 0.6519 GB, free: 15.44 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-05/0.01419, allocations: 98.28 kB / 0.652 GB, free: 15.34 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.01429, allocations: 370.6 kB / 0.6524 GB, free: 14.96 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.966e-05/0.01437, allocations: 74.98 kB / 0.6525 GB, free: 14.89 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.01448, allocations: 168.4 kB / 0.6526 GB, free: 14.69 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/0.0147, allocations: 259.1 kB / 0.6529 GB, free: 14.4 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.0147, allocations: 0 / 0.6529 GB, free: 14.4 MB / 0.6199 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0002695/0.01497, allocations: 329.7 kB / 0.6532 GB, free: 14.06 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.015, allocations: 29.7 kB / 0.6532 GB, free: 14.02 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.015, allocations: 7.984 kB / 0.6532 GB, free: 14.02 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.01502, allocations: 4 kB / 0.6532 GB, free: 14.01 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.01525, allocations: 107.9 kB / 0.6533 GB, free: 13.91 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.148e-05/0.0153, allocations: 7.938 kB / 0.6533 GB, free: 13.9 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.01543, allocations: 59.55 kB / 0.6534 GB, free: 13.84 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.01544, allocations: 12.25 kB / 0.6534 GB, free: 13.83 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.0001202/0.01556, allocations: 141.8 kB / 0.6535 GB, free: 13.68 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/0.01561, allocations: 55.89 kB / 0.6536 GB, free: 13.62 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.371e-05/0.01567, allocations: 61.45 kB / 0.6536 GB, free: 13.57 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.01568, allocations: 4 kB / 0.6536 GB, free: 13.56 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.594e-06/0.01568, allocations: 0 / 0.6536 GB, free: 13.56 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.01569, allocations: 3.984 kB / 0.6536 GB, free: 13.56 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005554/0.01624, allocations: 0.5797 MB / 0.6542 GB, free: 12.96 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01624, allocations: 0 / 0.6542 GB, free: 12.96 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/0.01646, allocations: 95.89 kB / 0.6543 GB, free: 12.86 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.01646, allocations: 3.938 kB / 0.6543 GB, free: 12.86 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.01648, allocations: 15.98 kB / 0.6543 GB, free: 12.84 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.01648, allocations: 0 / 0.6543 GB, free: 12.84 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.01649, allocations: 0 / 0.6543 GB, free: 12.84 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003375/0.01682, allocations: 402.8 kB / 0.6547 GB, free: 12.43 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 8.262e-05/0.01691, allocations: 63.48 kB / 0.6548 GB, free: 12.37 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.416e-05/0.01694, allocations: 15.98 kB / 0.6548 GB, free: 12.35 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.01705, allocations: 23.98 kB / 0.6548 GB, free: 12.33 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.7e-05/0.01711, allocations: 36.38 kB / 0.6548 GB, free: 12.29 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.01712, allocations: 8 kB / 0.6548 GB, free: 12.29 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 0.000109/0.01723, allocations: 164.7 kB / 0.655 GB, free: 12.12 MB / 0.6199 GB Notification: Performance of sort global known variables: time 7e-08/0.01723, allocations: 0 / 0.655 GB, free: 12.12 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.0002322/0.01746, allocations: 139.6 kB / 0.6551 GB, free: 11.99 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 0.0001031/0.01756, allocations: 100.3 kB / 0.6552 GB, free: 11.88 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0002693/0.01783, allocations: 301.5 kB / 0.6555 GB, free: 11.57 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.01784, allocations: 4 kB / 0.6555 GB, free: 11.56 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.01795, allocations: 128.5 kB / 0.6556 GB, free: 11.43 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.01832, allocations: 150.2 kB / 0.6558 GB, free: 11.29 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.01966, allocations: 1.1 MB / 0.6569 GB, free: 10.15 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.769e-05/0.01974, allocations: 133.9 kB / 0.657 GB, free: 10 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.0001451/0.01988, allocations: 64.53 kB / 0.6571 GB, free: 9.938 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/0.02008, allocations: 157.3 kB / 0.6572 GB, free: 9.781 MB / 0.6199 GB Notification: Performance of SimCode: time 7.52e-07/0.02008, allocations: 0 / 0.6572 GB, free: 9.781 MB / 0.6199 GB Notification: Performance of Templates: time 0.008665/0.02875, allocations: 6.271 MB / 0.6633 GB, free: 3.504 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 -lv LOG_STATS > AixLib_AixLib.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.425277933012694]