Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.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.0007583/0.0007583, 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.0008129/0.0008129, 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.8563/0.8563, allocations: 177.1 MB / 203.7 MB, free: 5.723 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.03531/0.03531, allocations: 9.122 MB / 269.2 MB, free: 4.453 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.0004359/0.0004359, allocations: 23.97 kB / 328.7 MB, free: 20.61 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.646/1.646, allocations: 275 MB / 0.6476 GB, free: 2.469 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.TimerAccumulatingNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0.875 kB / 0.9295 GB, free: 8.098 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.15e-05, allocations: 5.969 kB / 0.9295 GB, free: 8.094 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime): time 0.001237/0.001258, allocations: 0.7796 MB / 0.9302 GB, free: 7.332 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.002478, allocations: 1.384 MB / 0.9316 GB, free: 5.938 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.887e-05/0.002527, allocations: 0 / 0.9316 GB, free: 5.938 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.162e-05/0.002559, allocations: 11.86 kB / 0.9316 GB, free: 5.926 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.363e-05/0.002632, allocations: 23.73 kB / 0.9316 GB, free: 5.902 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005023/0.003135, allocations: 303.9 kB / 0.9319 GB, free: 5.617 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002499/0.003385, allocations: 387.3 kB / 0.9323 GB, free: 5.238 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.003488, allocations: 33.12 kB / 0.9323 GB, free: 5.207 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.003649, allocations: 216.5 kB / 0.9325 GB, free: 4.996 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.003786, allocations: 127.6 kB / 0.9326 GB, free: 4.871 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.04e-05/0.003827, allocations: 38.56 kB / 0.9327 GB, free: 4.836 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.035e-05/0.003897, allocations: 51.98 kB / 0.9327 GB, free: 4.785 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.739e-05/0.003945, allocations: 67.83 kB / 0.9328 GB, free: 4.719 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.742e-05/0.004042, allocations: 119.8 kB / 0.9329 GB, free: 4.602 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002815/0.004323, allocations: 398.9 kB / 0.9333 GB, free: 4.211 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.004325, allocations: 0 / 0.9333 GB, free: 4.211 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.91e-07/0.004326, allocations: 0 / 0.9333 GB, free: 4.211 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.00433, allocations: 0.7188 kB / 0.9333 GB, free: 4.211 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0006498/0.004979, allocations: 0.5358 MB / 0.9338 GB, free: 3.625 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.005014, allocations: 12.67 kB / 0.9338 GB, free: 3.613 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.8e-05/0.005082, allocations: 32.83 kB / 0.9339 GB, free: 3.582 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004249/0.005507, allocations: 237.1 kB / 0.9341 GB, free: 3.328 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.948e-05/0.005536, allocations: 28.58 kB / 0.9341 GB, free: 3.301 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.367e-05/0.00558, allocations: 36.36 kB / 0.9341 GB, free: 3.266 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.005869, allocations: 254.5 kB / 0.9344 GB, free: 3.016 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.005877, allocations: 192 / 0.9344 GB, free: 3.016 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.0059, allocations: 16.11 kB / 0.9344 GB, free: 3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.005905, allocations: 4.5 kB / 0.9344 GB, free: 2.996 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.006068, allocations: 126.4 kB / 0.9345 GB, free: 2.875 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005751/0.006643, allocations: 484.7 kB / 0.935 GB, free: 2.371 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003462/0.006989, allocations: 246.5 kB / 0.9352 GB, free: 2.121 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.007141, allocations: 140.1 kB / 0.9354 GB, free: 1.984 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.007151, allocations: 0 / 0.9354 GB, free: 1.984 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003452/0.007496, allocations: 361.8 kB / 0.9357 GB, free: 1.621 MB / 0.698 GB Notification: Performance of pre-optimization done (n=44): time 1.293e-06/0.007498, allocations: 0 / 0.9357 GB, free: 1.621 MB / 0.698 GB Notification: Performance of matching and sorting (n=44): time 0.0007139/0.008211, allocations: 0.6662 MB / 0.9364 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.008241, allocations: 71.45 kB / 0.9364 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.59e-05/0.008327, allocations: 151 kB / 0.9366 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.008366, allocations: 49.7 kB / 0.9366 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.259e-05/0.008418, allocations: 105.1 kB / 0.9367 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.593e-05/0.008474, allocations: 107.2 kB / 0.9368 GB, free: 456 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.008582, allocations: 123.8 kB / 0.9369 GB, free: 324 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.065e-05/0.008673, allocations: 334.8 kB / 0.9373 GB, free: 15.98 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.008881, allocations: 204.6 kB / 0.9375 GB, free: 15.77 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/0.00914, allocations: 367.8 kB / 0.9378 GB, free: 15.33 MB / 0.7137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/0.009499, allocations: 459 kB / 0.9382 GB, free: 14.8 MB / 0.7137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.009502, allocations: 4 kB / 0.9382 GB, free: 14.8 MB / 0.7137 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0005865/0.01009, allocations: 0.627 MB / 0.9389 GB, free: 14.14 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 3.769e-05/0.01013, allocations: 71.39 kB / 0.9389 GB, free: 14.06 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.01013, allocations: 4 kB / 0.9389 GB, free: 14.06 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.01015, allocations: 8 kB / 0.9389 GB, free: 14.05 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.764e-05/0.01024, allocations: 44.44 kB / 0.939 GB, free: 14.01 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.01025, allocations: 8 kB / 0.939 GB, free: 14 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.01048, allocations: 99.66 kB / 0.9391 GB, free: 13.9 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.01051, allocations: 31.98 kB / 0.9391 GB, free: 13.87 MB / 0.7137 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 0.0001187/0.01063, allocations: 198.7 kB / 0.9393 GB, free: 13.67 MB / 0.7137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.01066, allocations: 31.84 kB / 0.9393 GB, free: 13.64 MB / 0.7137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.359e-05/0.01069, allocations: 22.31 kB / 0.9394 GB, free: 13.62 MB / 0.7137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.0107, allocations: 3.984 kB / 0.9394 GB, free: 13.61 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.0107, allocations: 7.938 kB / 0.9394 GB, free: 13.61 MB / 0.7137 GB Notification: Performance of postOpt removeConstants (simulation): time 1.288e-05/0.01071, allocations: 15.84 kB / 0.9394 GB, free: 13.59 MB / 0.7137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.18e-05/0.01075, allocations: 23.98 kB / 0.9394 GB, free: 13.57 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.642e-05/0.01083, allocations: 27.95 kB / 0.9394 GB, free: 13.54 MB / 0.7137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.816e-05/0.0109, allocations: 51.84 kB / 0.9395 GB, free: 13.49 MB / 0.7137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005217/0.01142, allocations: 0.6296 MB / 0.9401 GB, free: 12.85 MB / 0.7137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005542/0.01197, allocations: 0.7451 MB / 0.9408 GB, free: 12.09 MB / 0.7137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001768/0.01215, allocations: 171.8 kB / 0.941 GB, free: 11.92 MB / 0.7137 GB Notification: Performance of sorting global known variables: time 4.268e-05/0.01219, allocations: 105.1 kB / 0.9411 GB, free: 11.82 MB / 0.7137 GB Notification: Performance of Backend: time 2.11e-07/0.01219, allocations: 0 / 0.9411 GB, free: 11.82 MB / 0.7137 GB Notification: Performance of simCode: created initialization part: time 0.0005981/0.01279, allocations: 0.5089 MB / 0.9416 GB, free: 11.27 MB / 0.7137 GB Notification: Performance of SimCode: time 0.0005134/0.01331, allocations: 0.7557 MB / 0.9423 GB, free: 10.46 MB / 0.7137 GB Notification: Performance of Templates: time 0.005637/0.01894, allocations: 4.928 MB / 0.9471 GB, free: 5.672 MB / 0.7137 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.856712490320206] Failed to read output from testmodel.py, exit status != 0: 0.0238066790625453 0.032124943 0.026052969000000002 Calling exit ...