Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.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.001521/0.001521, allocations: 78.42 kB / 19.95 MB, free: 1.945 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.001645/0.001645, allocations: 164.3 kB / 23.23 MB, free: 4.965 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.387/1.387, allocations: 177.2 MB / 203.6 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 179] 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.05797/0.05797, allocations: 9.149 MB / 269.2 MB, free: 7.902 MB / 254.1 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/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0007001/0.0007001, allocations: 23.95 kB / 328.6 MB, free: 42.35 MB / 286.1 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/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 2.318/2.318, allocations: 275.1 MB / 0.6477 GB, free: 6.207 MB / 0.4982 GB [/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 177] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/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) 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(AixLib.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.721e-05/1.721e-05, allocations: 2.281 kB / 0.9295 GB, free: 22.38 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale): time 0.002603/0.00262, allocations: 1.875 MB / 0.9314 GB, free: 21.15 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002059/0.00468, allocations: 1.73 MB / 0.933 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000195/0.004875, allocations: 16.25 kB / 0.9331 GB, free: 19.87 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002362/0.005111, allocations: 89.28 kB / 0.9331 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001932/0.005304, allocations: 91.81 kB / 0.9332 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008565/0.00616, allocations: 428.8 kB / 0.9336 GB, free: 19.5 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006645/0.006825, allocations: 0.8659 MB / 0.9345 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003552/0.00718, allocations: 240 kB / 0.9347 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004076/0.007588, allocations: 459.4 kB / 0.9352 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.007841, allocations: 239.1 kB / 0.9354 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.007956, allocations: 86.06 kB / 0.9355 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.008096, allocations: 94.17 kB / 0.9356 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0005545/0.008651, allocations: 1.112 MB / 0.9366 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 0.0002413/0.008892, allocations: 0.6504 MB / 0.9373 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.281e-05/0.008985, allocations: 44.22 kB / 0.9373 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of FrontEnd: time 7.144e-05/0.009056, allocations: 42.56 kB / 0.9374 GB, free: 17.35 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 (131) * Number of variables: 131 (131) Notification: Performance of [SIM] Bindings: time 0.002077/0.01113, allocations: 2.968 MB / 0.9403 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of [SIM] FunctionAlias: time 0.0003175/0.01145, allocations: 390.1 kB / 0.9406 GB, free: 15 MB / 0.7325 GB Notification: Performance of [SIM] Early Inline: time 0.001324/0.01278, allocations: 1.734 MB / 0.9423 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 1: time 0.0004271/0.0132, allocations: 320 kB / 0.9426 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of [SIM] Alias: time 0.003374/0.01658, allocations: 3.163 MB / 0.9457 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of [SIM] Simplify 2: time 0.0003077/0.01688, allocations: 248 kB / 0.946 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of [SIM] Remove Stream: time 0.0002219/0.01711, allocations: 236.5 kB / 0.9462 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of [SIM] Detect States: time 0.0005444/0.01765, allocations: 0.5633 MB / 0.9467 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of [SIM] Events: time 9.06e-05/0.01774, allocations: 62.64 kB / 0.9468 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of [SIM] Partitioning: time 0.0004777/0.01822, allocations: 460.9 kB / 0.9472 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of [SIM] Causalize: time 0.0008918/0.01911, allocations: 0.6941 MB / 0.9479 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0007695/0.01988, allocations: 1.01 MB / 0.9489 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of [INI] Simplify: time 0.00132/0.0212, allocations: 1.012 MB / 0.9499 GB, free: 9.543 MB / 0.7325 GB Notification: Performance of [INI] Inline: time 0.001221/0.02242, allocations: 1.595 MB / 0.9514 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of [INI] Partitioning: time 7.437e-05/0.0225, allocations: 47.39 kB / 0.9515 GB, free: 8.535 MB / 0.7325 GB Notification: Performance of [INI] Cleanup: time 0.0005692/0.02306, allocations: 0.7264 MB / 0.9522 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of [INI] Causalize: time 0.004903/0.02797, allocations: 3.695 MB / 0.9558 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of [INI] Tearing: time 5.685e-05/0.02802, allocations: 121 kB / 0.9559 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of [SIM] Initialization: time 1.052e-06/0.02802, allocations: 0 / 0.9559 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of [SIM] Remove Dummies: time 1.012e-05/0.02803, allocations: 0 / 0.9559 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of [SIM] Tearing: time 8.826e-06/0.02804, allocations: 23.44 kB / 0.9559 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of [SIM] Categorize: time 1.214e-05/0.02806, allocations: 3.359 kB / 0.9559 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of [SIM] Solve: time 0.001011/0.02907, allocations: 0.673 MB / 0.9566 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of [SIM] Jacobian: time 0.0003489/0.02942, allocations: 390.5 kB / 0.957 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of [SIM] Minimize Homotopy System: time 4.188e-06/0.02942, allocations: 0 / 0.957 GB, free: 6.652 MB / 0.7325 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 6 (6) {pidSca.addPID.u2, pidSca.D.x, pla1.y, pidNoSca.addPID.u2, pidNoSca.D.x, pla2.y} * Number of discrete states: .................... 2 (2) {booPul.y, pulse.booPul.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 5 (5) {pidSca.trigger, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 46 (scalar:46, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 111 (scalar:111, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 111 (scalar:111, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.962e-05/0.02948, allocations: 69.69 kB / 0.957 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of SimCode: time 0.002557/0.03204, allocations: 2.504 MB / 0.9595 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of Templates: time 0.01095/0.04298, allocations: 4.977 MB / 0.9643 GB, free: 4.84 MB / 0.7325 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.413023829460144] Failed to read output from testmodel.py, exit status != 0: 0.049605149775743484 0.062028533000000004 0.050124546000000006 Calling exit ...