Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.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.0007294/0.0007294, 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.001448/0.001448, 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.8629/0.8629, allocations: 177.1 MB / 203.7 MB, free: 5.707 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.03515/0.03515, allocations: 9.121 MB / 269.2 MB, free: 4.438 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.0003736/0.0003736, allocations: 27.89 kB / 328.7 MB, free: 5.789 MB / 298.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.614/1.614, allocations: 274.9 MB / 0.6476 GB, free: 2.867 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.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 3.938 kB / 0.9295 GB, free: 20.88 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.347e-05/1.486e-05, allocations: 4.359 kB / 0.9295 GB, free: 20.88 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.TimerAccumulating): time 0.001055/0.00107, allocations: 0.7662 MB / 0.9302 GB, free: 20.4 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.002105, allocations: 1.385 MB / 0.9316 GB, free: 19.4 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.911e-05/0.002154, allocations: 1.406 kB / 0.9316 GB, free: 19.4 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 2.742e-05/0.002182, allocations: 14.39 kB / 0.9316 GB, free: 19.39 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 7.287e-05/0.002255, allocations: 21.41 kB / 0.9316 GB, free: 19.38 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004737/0.002728, allocations: 298.7 kB / 0.9319 GB, free: 19.22 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0002441/0.002972, allocations: 383.6 kB / 0.9323 GB, free: 19.05 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 9.832e-05/0.003071, allocations: 34.5 kB / 0.9323 GB, free: 19.03 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.003237, allocations: 219.8 kB / 0.9325 GB, free: 18.93 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.003387, allocations: 124.5 kB / 0.9326 GB, free: 18.89 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 4.474e-05/0.003432, allocations: 36.38 kB / 0.9327 GB, free: 18.89 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 7.359e-05/0.003506, allocations: 49.81 kB / 0.9327 GB, free: 18.89 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 4.2e-05/0.003548, allocations: 66.44 kB / 0.9328 GB, free: 18.85 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.003648, allocations: 124.9 kB / 0.9329 GB, free: 18.79 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.0003094/0.003957, allocations: 396.5 kB / 0.9333 GB, free: 18.64 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.003959, allocations: 1.375 kB / 0.9333 GB, free: 18.64 MB / 0.7293 GB Notification: Performance of FrontEnd: time 9.52e-07/0.00396, allocations: 0 / 0.9333 GB, free: 18.64 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.003964, allocations: 0 / 0.9333 GB, free: 18.64 MB / 0.7293 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0006105/0.004574, allocations: 0.535 MB / 0.9338 GB, free: 18.23 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.004609, allocations: 13.73 kB / 0.9338 GB, free: 18.23 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.788e-05/0.004677, allocations: 36.45 kB / 0.9339 GB, free: 18.21 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004064/0.005084, allocations: 231.3 kB / 0.9341 GB, free: 18.05 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.005111, allocations: 26.69 kB / 0.9341 GB, free: 18.05 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.73e-05/0.005158, allocations: 43.36 kB / 0.9341 GB, free: 18.04 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002977/0.005456, allocations: 251.6 kB / 0.9344 GB, free: 17.95 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.005464, allocations: 4.828 kB / 0.9344 GB, free: 17.95 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.005486, allocations: 15.7 kB / 0.9344 GB, free: 17.94 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.005491, allocations: 3.484 kB / 0.9344 GB, free: 17.94 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.00565, allocations: 123.1 kB / 0.9345 GB, free: 17.9 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005578/0.006208, allocations: 485.2 kB / 0.935 GB, free: 17.58 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003454/0.006554, allocations: 247.1 kB / 0.9352 GB, free: 17.48 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.006704, allocations: 132.5 kB / 0.9353 GB, free: 17.43 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.006715, allocations: 5.688 kB / 0.9354 GB, free: 17.43 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003908/0.007105, allocations: 364.2 kB / 0.9357 GB, free: 17.29 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=44): time 1.673e-06/0.007107, allocations: 0 / 0.9357 GB, free: 17.29 MB / 0.7293 GB Notification: Performance of matching and sorting (n=44): time 0.0007273/0.007834, allocations: 0.6705 MB / 0.9364 GB, free: 17.05 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.207e-05/0.007856, allocations: 65.8 kB / 0.9364 GB, free: 16.99 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.496e-05/0.007931, allocations: 151.7 kB / 0.9366 GB, free: 16.87 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 3.667e-05/0.007968, allocations: 50.8 kB / 0.9366 GB, free: 16.82 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 3.966e-05/0.008008, allocations: 103.2 kB / 0.9367 GB, free: 16.73 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 4.663e-05/0.008054, allocations: 111.1 kB / 0.9368 GB, free: 16.64 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.008161, allocations: 120.5 kB / 0.9369 GB, free: 16.59 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 3.867e-05/0.0082, allocations: 342.2 kB / 0.9373 GB, free: 16.26 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.008394, allocations: 202.8 kB / 0.9374 GB, free: 16.15 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/0.008629, allocations: 365.5 kB / 0.9378 GB, free: 15.84 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003147/0.008943, allocations: 455.3 kB / 0.9382 GB, free: 15.48 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.008947, allocations: 10.44 kB / 0.9382 GB, free: 15.47 MB / 0.7293 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.000563/0.00951, allocations: 0.6356 MB / 0.9389 GB, free: 15.13 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.009538, allocations: 68.52 kB / 0.9389 GB, free: 15.06 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.009546, allocations: 5.531 kB / 0.9389 GB, free: 15.06 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.009562, allocations: 7.25 kB / 0.9389 GB, free: 15.06 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.556e-05/0.009647, allocations: 43.59 kB / 0.939 GB, free: 15.05 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.00966, allocations: 9.906 kB / 0.939 GB, free: 15.05 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.009893, allocations: 92.7 kB / 0.9391 GB, free: 15.02 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/0.009928, allocations: 34.44 kB / 0.9391 GB, free: 15.02 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,thrTimWitRes.passed,$PRE.thrTimWitRes.passed,noThrWitRes.passed,$PRE.noThrWitRes.passed,thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,resTim.y,$PRE.resTim.y,thrTimWitRes.reset,noThrWitRes.reset,$whenCondition12,$whenCondition16,booPul.y,$PRE.booPul.y,thrTimWitRes.yAcc,$PRE.thrTimWitRes.yAcc,thrTimWitRes.entryTime,$PRE.thrTimWitRes.entryTime,thrTimWitRes.u,noThrWitRes.yAcc,$PRE.noThrWitRes.yAcc,noThrWitRes.entryTime,$PRE.noThrWitRes.entryTime,noThrWitRes.u,thrTim.yAcc,$PRE.thrTim.yAcc,thrTim.entryTime,$PRE.thrTim.entryTime,thrTim.u,noThr.yAcc,$PRE.noThr.yAcc,noThr.entryTime,$PRE.noThr.entryTime,noThr.u,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition15,$whenCondition14,$whenCondition13,con.y,noThr.reset,$whenCondition4,thrTim.reset,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * 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 9.798e-05/0.01003, allocations: 184.9 kB / 0.9393 GB, free: 14.86 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.01006, allocations: 35.05 kB / 0.9393 GB, free: 14.84 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.228e-05/0.01009, allocations: 26.06 kB / 0.9393 GB, free: 14.82 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.0101, allocations: 2.156 kB / 0.9393 GB, free: 14.82 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.0101, allocations: 1.156 kB / 0.9393 GB, free: 14.82 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 1.295e-05/0.01011, allocations: 23.28 kB / 0.9394 GB, free: 14.81 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.01015, allocations: 21.77 kB / 0.9394 GB, free: 14.8 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.01022, allocations: 32.03 kB / 0.9394 GB, free: 14.79 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.227e-05/0.01029, allocations: 48.41 kB / 0.9395 GB, free: 14.78 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004996/0.01079, allocations: 0.6292 MB / 0.9401 GB, free: 14.49 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005275/0.01132, allocations: 0.7429 MB / 0.9408 GB, free: 14.09 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001829/0.0115, allocations: 173.7 kB / 0.941 GB, free: 14.03 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 3.132e-05/0.01154, allocations: 102.4 kB / 0.9411 GB, free: 13.95 MB / 0.7293 GB Notification: Performance of Backend: time 1.4e-07/0.01154, allocations: 0 / 0.9411 GB, free: 13.95 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0005559/0.01209, allocations: 0.5072 MB / 0.9416 GB, free: 13.61 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0004205/0.01251, allocations: 0.7558 MB / 0.9423 GB, free: 12.94 MB / 0.7293 GB Notification: Performance of Templates: time 0.006227/0.01874, allocations: 4.919 MB / 0.9471 GB, free: 12.42 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerAccumulating -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.931509327143431] Failed to read output from testmodel.py, exit status != 0: 0.02243319246917963 0.030260429000000002 0.024766941 Calling exit ...