Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.0007208/0.0007208, 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.0007342/0.0007342, 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.8412/0.8412, allocations: 177.1 MB / 203.7 MB, free: 5.715 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.03394/0.03394, allocations: 9.119 MB / 269.2 MB, free: 4.449 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.0005523/0.0005523, allocations: 15.97 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.471/1.471, allocations: 275 MB / 0.6476 GB, free: 2.48 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.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 0.9295 GB, free: 8.094 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.526e-05, allocations: 5.234 kB / 0.9295 GB, free: 8.09 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001317/0.001342, allocations: 0.6327 MB / 0.9301 GB, free: 7.477 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.002383, allocations: 1.204 MB / 0.9313 GB, free: 6.262 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.931e-05/0.002432, allocations: 4 kB / 0.9313 GB, free: 6.258 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.938e-05/0.002462, allocations: 3.938 kB / 0.9313 GB, free: 6.254 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.522e-05/0.002527, allocations: 7.922 kB / 0.9313 GB, free: 6.246 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003823/0.002909, allocations: 143.5 kB / 0.9314 GB, free: 6.109 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.003046, allocations: 144.3 kB / 0.9316 GB, free: 5.969 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.157e-05/0.003127, allocations: 15.98 kB / 0.9316 GB, free: 5.953 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.686e-05/0.003214, allocations: 80.58 kB / 0.9317 GB, free: 5.875 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.737e-05/0.003302, allocations: 46.27 kB / 0.9317 GB, free: 5.832 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.003325, allocations: 17.81 kB / 0.9317 GB, free: 5.816 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.183e-05/0.003377, allocations: 23.98 kB / 0.9317 GB, free: 5.793 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.698e-05/0.003404, allocations: 15.97 kB / 0.9318 GB, free: 5.777 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.281e-05/0.003457, allocations: 43.91 kB / 0.9318 GB, free: 5.734 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.003617, allocations: 159.5 kB / 0.9319 GB, free: 5.578 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.00362, allocations: 5.938 kB / 0.932 GB, free: 5.574 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.82e-07/0.00362, allocations: 0 / 0.932 GB, free: 5.574 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.856e-06/0.003623, allocations: 0 / 0.932 GB, free: 5.574 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004307/0.004054, allocations: 339.8 kB / 0.9323 GB, free: 5.203 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.004089, allocations: 14.11 kB / 0.9323 GB, free: 5.191 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.397e-05/0.004133, allocations: 16.92 kB / 0.9323 GB, free: 5.176 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.00439, allocations: 153.8 kB / 0.9325 GB, free: 5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.004406, allocations: 4.375 kB / 0.9325 GB, free: 4.996 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.004429, allocations: 17.67 kB / 0.9325 GB, free: 4.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.004553, allocations: 82.14 kB / 0.9326 GB, free: 4.895 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.00456, allocations: 192 / 0.9326 GB, free: 4.895 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.004573, allocations: 12.36 kB / 0.9326 GB, free: 4.883 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.004578, allocations: 9.312 kB / 0.9326 GB, free: 4.875 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.262e-05/0.004641, allocations: 35.97 kB / 0.9326 GB, free: 4.84 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003421/0.004983, allocations: 273.7 kB / 0.9329 GB, free: 4.543 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.005109, allocations: 82.52 kB / 0.9329 GB, free: 4.453 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.202e-05/0.005152, allocations: 38.11 kB / 0.933 GB, free: 4.414 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.005161, allocations: 0 / 0.933 GB, free: 4.414 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.005341, allocations: 135 kB / 0.9331 GB, free: 4.273 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.005342, allocations: 0 / 0.9331 GB, free: 4.273 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0002848/0.005627, allocations: 209.6 kB / 0.9333 GB, free: 4.062 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/0.00565, allocations: 55.19 kB / 0.9334 GB, free: 4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.079e-05/0.005711, allocations: 109.8 kB / 0.9335 GB, free: 3.883 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.005732, allocations: 33.7 kB / 0.9335 GB, free: 3.844 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.969e-05/0.005771, allocations: 96.08 kB / 0.9336 GB, free: 3.746 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.005792, allocations: 27.8 kB / 0.9336 GB, free: 3.719 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/0.005844, allocations: 45.69 kB / 0.9337 GB, free: 3.668 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.024e-05/0.005914, allocations: 318.8 kB / 0.934 GB, free: 3.348 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.485e-05/0.005999, allocations: 81.67 kB / 0.934 GB, free: 3.262 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.994e-05/0.006089, allocations: 117.9 kB / 0.9342 GB, free: 3.125 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.006205, allocations: 141.8 kB / 0.9343 GB, free: 2.969 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.006207, allocations: 0 / 0.9343 GB, free: 2.969 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002265/0.006434, allocations: 243.8 kB / 0.9345 GB, free: 2.715 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.006461, allocations: 38.89 kB / 0.9346 GB, free: 2.672 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.006467, allocations: 4 kB / 0.9346 GB, free: 2.668 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.006477, allocations: 0 / 0.9346 GB, free: 2.668 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.972e-05/0.006527, allocations: 19.92 kB / 0.9346 GB, free: 2.648 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.006535, allocations: 4.125 kB / 0.9346 GB, free: 2.645 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.006639, allocations: 31.91 kB / 0.9346 GB, free: 2.613 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.006653, allocations: 15.98 kB / 0.9346 GB, free: 2.598 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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 7.478e-05/0.006728, allocations: 130.6 kB / 0.9348 GB, free: 2.461 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.307e-05/0.006741, allocations: 11.89 kB / 0.9348 GB, free: 2.449 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.529e-05/0.006766, allocations: 8.438 kB / 0.9348 GB, free: 2.438 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.00677, allocations: 3.984 kB / 0.9348 GB, free: 2.434 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.006771, allocations: 4 kB / 0.9348 GB, free: 2.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.917e-06/0.00678, allocations: 15.95 kB / 0.9348 GB, free: 2.414 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.006797, allocations: 4 kB / 0.9348 GB, free: 2.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.321e-05/0.00682, allocations: 3.984 kB / 0.9348 GB, free: 2.406 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.006864, allocations: 19.97 kB / 0.9348 GB, free: 2.387 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001734/0.007038, allocations: 240.9 kB / 0.9351 GB, free: 2.145 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001929/0.00723, allocations: 351.2 kB / 0.9354 GB, free: 1.785 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.148e-05/0.007292, allocations: 45.59 kB / 0.9354 GB, free: 1.742 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.919e-05/0.007321, allocations: 87.27 kB / 0.9355 GB, free: 1.656 MB / 0.698 GB Notification: Performance of Backend: time 1.3e-07/0.007321, allocations: 7.938 kB / 0.9355 GB, free: 1.648 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006364/0.007958, allocations: 247.4 kB / 0.9358 GB, free: 1.383 MB / 0.698 GB Notification: Performance of SimCode: time 0.0004011/0.008359, allocations: 0.612 MB / 0.9364 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of Templates: time 0.003061/0.01142, allocations: 1.923 MB / 0.9382 GB, free: 14.86 MB / 0.7137 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.551274002529681] Failed to read output from testmodel.py, exit status != 0: 0.016583090648055077 0.023790856000000003 0.018600909000000002 Calling exit ...