Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer.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.0007262/0.0007262, allocations: 79.69 kB / 20.03 MB, free: 4.492 MB / 18.57 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.0007671/0.0007671, allocations: 165.3 kB / 23.33 MB, free: 1.191 MB / 18.57 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.851/0.851, allocations: 177.1 MB / 203.7 MB, free: 5.703 MB / 186.7 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.03493/0.03493, allocations: 9.119 MB / 269.2 MB, free: 4.434 MB / 250.7 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.0003642/0.0003642, allocations: 26.62 kB / 328.7 MB, free: 20.6 MB / 266.7 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 1.478/1.478, allocations: 275 MB / 0.6476 GB, free: 2.473 MB / 0.4949 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 178] 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.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.775e-06/2.775e-06, allocations: 0 / 0.9295 GB, free: 7.957 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.784e-05/3.062e-05, allocations: 2.281 kB / 0.9295 GB, free: 7.953 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001355/0.001386, allocations: 0.7075 MB / 0.9302 GB, free: 7.266 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.002482, allocations: 1.292 MB / 0.9314 GB, free: 5.961 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.585e-05/0.002528, allocations: 0 / 0.9314 GB, free: 5.961 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.456e-05/0.002552, allocations: 5.094 kB / 0.9314 GB, free: 5.957 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.055e-05/0.002623, allocations: 23.78 kB / 0.9315 GB, free: 5.934 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004597/0.003082, allocations: 251.7 kB / 0.9317 GB, free: 5.695 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.00327, allocations: 261.2 kB / 0.9319 GB, free: 5.441 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.625e-05/0.003357, allocations: 12.22 kB / 0.932 GB, free: 5.426 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.003474, allocations: 147.7 kB / 0.9321 GB, free: 5.281 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.003581, allocations: 71.88 kB / 0.9322 GB, free: 5.211 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.00361, allocations: 20.5 kB / 0.9322 GB, free: 5.191 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.103e-05/0.003671, allocations: 44.88 kB / 0.9322 GB, free: 5.148 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.984e-05/0.003701, allocations: 35.89 kB / 0.9323 GB, free: 5.113 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.128e-05/0.003772, allocations: 72.94 kB / 0.9323 GB, free: 5.043 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.003993, allocations: 275.3 kB / 0.9326 GB, free: 4.773 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.003995, allocations: 0 / 0.9326 GB, free: 4.773 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.32e-07/0.003996, allocations: 1.188 kB / 0.9326 GB, free: 4.773 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.666e-06/0.003999, allocations: 0 / 0.9326 GB, free: 4.773 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004958/0.004495, allocations: 423.8 kB / 0.933 GB, free: 4.316 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.004531, allocations: 11.98 kB / 0.933 GB, free: 4.305 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.966e-05/0.004581, allocations: 20.88 kB / 0.933 GB, free: 4.285 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.004924, allocations: 190.8 kB / 0.9332 GB, free: 4.074 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.004944, allocations: 12.36 kB / 0.9332 GB, free: 4.062 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.004973, allocations: 20.38 kB / 0.9332 GB, free: 4.043 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.005134, allocations: 133.2 kB / 0.9334 GB, free: 3.902 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.005141, allocations: 4.125 kB / 0.9334 GB, free: 3.898 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.005156, allocations: 16.3 kB / 0.9334 GB, free: 3.883 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.00516, allocations: 4.125 kB / 0.9334 GB, free: 3.879 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.631e-05/0.005247, allocations: 64.48 kB / 0.9335 GB, free: 3.816 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004321/0.005679, allocations: 422.8 kB / 0.9339 GB, free: 3.371 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.00586, allocations: 137.2 kB / 0.934 GB, free: 3.219 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/0.006092, allocations: 55.09 kB / 0.934 GB, free: 3.16 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.006102, allocations: 4 kB / 0.934 GB, free: 3.156 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.006321, allocations: 207.4 kB / 0.9342 GB, free: 2.938 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 1.272e-06/0.006322, allocations: 0 / 0.9342 GB, free: 2.938 MB / 0.698 GB Notification: Performance of matching and sorting (n=22): time 0.000374/0.006696, allocations: 315.7 kB / 0.9345 GB, free: 2.625 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.006733, allocations: 89.19 kB / 0.9346 GB, free: 2.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.66e-05/0.0068, allocations: 134 kB / 0.9348 GB, free: 2.379 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.006827, allocations: 38.42 kB / 0.9348 GB, free: 2.336 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.636e-05/0.006873, allocations: 100.6 kB / 0.9349 GB, free: 2.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.006904, allocations: 53.28 kB / 0.9349 GB, free: 2.18 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.968e-05/0.006974, allocations: 69.69 kB / 0.935 GB, free: 2.105 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.488e-05/0.007049, allocations: 334.8 kB / 0.9353 GB, free: 1.77 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.007187, allocations: 143.6 kB / 0.9355 GB, free: 1.613 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.00734, allocations: 216.8 kB / 0.9357 GB, free: 1.363 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.007529, allocations: 246.9 kB / 0.9359 GB, free: 1.086 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.007532, allocations: 384 / 0.9359 GB, free: 1.086 MB / 0.698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003733/0.007905, allocations: 429.9 kB / 0.9363 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.62e-05/0.007941, allocations: 63.39 kB / 0.9364 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.007946, allocations: 5.562 kB / 0.9364 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.007958, allocations: 4 kB / 0.9364 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.813e-05/0.008016, allocations: 23.92 kB / 0.9364 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.008025, allocations: 7.938 kB / 0.9364 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.008198, allocations: 65.58 kB / 0.9365 GB, free: 476 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.008218, allocations: 17.33 kB / 0.9365 GB, free: 460 kB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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 8.565e-05/0.008304, allocations: 153.5 kB / 0.9366 GB, free: 300 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/0.008319, allocations: 15.91 kB / 0.9367 GB, free: 284 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.816e-05/0.008347, allocations: 16.44 kB / 0.9367 GB, free: 268 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.008351, allocations: 3.984 kB / 0.9367 GB, free: 264 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.008352, allocations: 0 / 0.9367 GB, free: 264 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.156e-05/0.008364, allocations: 12.73 kB / 0.9367 GB, free: 252 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.008386, allocations: 11.98 kB / 0.9367 GB, free: 240 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.591e-05/0.008421, allocations: 18.98 kB / 0.9367 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.008475, allocations: 23.95 kB / 0.9367 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002823/0.008757, allocations: 408.2 kB / 0.9371 GB, free: 15.79 MB / 0.7137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002827/0.00904, allocations: 0.5068 MB / 0.9376 GB, free: 15.26 MB / 0.7137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.536e-05/0.009125, allocations: 71.95 kB / 0.9377 GB, free: 15.19 MB / 0.7137 GB Notification: Performance of sorting global known variables: time 3.514e-05/0.00916, allocations: 97.27 kB / 0.9378 GB, free: 15.1 MB / 0.7137 GB Notification: Performance of Backend: time 1.51e-07/0.009161, allocations: 0 / 0.9378 GB, free: 15.1 MB / 0.7137 GB Notification: Performance of simCode: created initialization part: time 0.0005132/0.009674, allocations: 400.6 kB / 0.9382 GB, free: 14.66 MB / 0.7137 GB Notification: Performance of SimCode: time 0.0004349/0.01011, allocations: 0.6711 MB / 0.9388 GB, free: 13.95 MB / 0.7137 GB Notification: Performance of Templates: time 0.004195/0.0143, allocations: 3.124 MB / 0.9419 GB, free: 10.9 MB / 0.7137 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.600004451349378] Failed to read output from testmodel.py, exit status != 0: 0.018808409571647644 0.027256080000000002 0.021386256000000003 Calling exit ...