Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.0007349/0.0007349, allocations: 75.69 kB / 20.03 MB, free: 4.496 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.0007434/0.0007434, allocations: 169.3 kB / 23.33 MB, free: 1.188 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.8314/0.8314, allocations: 177.1 MB / 203.6 MB, free: 5.719 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.0351/0.0351, allocations: 9.129 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.0003845/0.0003845, allocations: 19.97 kB / 328.7 MB, free: 20.62 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.413/1.413, allocations: 275 MB / 0.6476 GB, free: 2.477 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.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") translateModel(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.9294 GB, free: 8.156 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.569e-05/1.702e-05, allocations: 2.281 kB / 0.9294 GB, free: 8.152 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.00113/0.001147, allocations: 0.6967 MB / 0.9301 GB, free: 7.473 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.002236, allocations: 1.235 MB / 0.9313 GB, free: 6.227 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.391e-05/0.00228, allocations: 0 / 0.9313 GB, free: 6.227 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.264e-05/0.002303, allocations: 3.938 kB / 0.9313 GB, free: 6.223 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.397e-05/0.002367, allocations: 11.88 kB / 0.9313 GB, free: 6.211 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.002734, allocations: 153.8 kB / 0.9315 GB, free: 6.07 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.002855, allocations: 115.8 kB / 0.9316 GB, free: 5.957 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.125e-05/0.002936, allocations: 15.97 kB / 0.9316 GB, free: 5.941 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.88e-05/0.003035, allocations: 63.89 kB / 0.9317 GB, free: 5.879 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.839e-05/0.003104, allocations: 35.94 kB / 0.9317 GB, free: 5.844 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.003123, allocations: 9.094 kB / 0.9317 GB, free: 5.836 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.291e-05/0.003176, allocations: 27.98 kB / 0.9317 GB, free: 5.809 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.011e-05/0.003196, allocations: 15.91 kB / 0.9318 GB, free: 5.793 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.253e-05/0.003238, allocations: 33.3 kB / 0.9318 GB, free: 5.762 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.003384, allocations: 135.6 kB / 0.9319 GB, free: 5.629 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.003386, allocations: 0 / 0.9319 GB, free: 5.629 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.32e-07/0.003387, allocations: 0 / 0.9319 GB, free: 5.629 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.00339, allocations: 4.688 kB / 0.9319 GB, free: 5.625 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004211/0.003811, allocations: 337.5 kB / 0.9322 GB, free: 5.258 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.003845, allocations: 11.98 kB / 0.9323 GB, free: 5.246 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.985e-05/0.003915, allocations: 4.938 kB / 0.9323 GB, free: 5.242 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.857e-05/0.003994, allocations: 121.6 kB / 0.9324 GB, free: 5.098 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.004005, allocations: 6.031 kB / 0.9324 GB, free: 5.094 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.887e-05/0.004024, allocations: 12.38 kB / 0.9324 GB, free: 5.082 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.00415, allocations: 66.19 kB / 0.9325 GB, free: 5.012 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.004157, allocations: 4.125 kB / 0.9325 GB, free: 5.008 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.004167, allocations: 4.875 kB / 0.9325 GB, free: 5.004 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.004172, allocations: 5.281 kB / 0.9325 GB, free: 5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.825e-05/0.00426, allocations: 40.95 kB / 0.9325 GB, free: 4.961 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003097/0.00457, allocations: 252.4 kB / 0.9328 GB, free: 4.684 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.772e-05/0.004667, allocations: 51.73 kB / 0.9328 GB, free: 4.625 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.684e-05/0.004714, allocations: 25.66 kB / 0.9328 GB, free: 4.598 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.004729, allocations: 0 / 0.9328 GB, free: 4.598 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001198/0.004848, allocations: 96.45 kB / 0.9329 GB, free: 4.492 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 8.51e-07/0.004849, allocations: 0 / 0.9329 GB, free: 4.492 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0002636/0.005113, allocations: 147.2 kB / 0.9331 GB, free: 4.344 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.066e-05/0.005134, allocations: 51.41 kB / 0.9331 GB, free: 4.281 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.717e-05/0.005191, allocations: 110.5 kB / 0.9332 GB, free: 4.164 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.005208, allocations: 34.23 kB / 0.9332 GB, free: 4.125 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.635e-05/0.005244, allocations: 84.14 kB / 0.9333 GB, free: 4.039 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.472e-05/0.005259, allocations: 25.25 kB / 0.9333 GB, free: 4.016 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.185e-05/0.005301, allocations: 37.7 kB / 0.9334 GB, free: 3.973 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.987e-05/0.005361, allocations: 314.8 kB / 0.9337 GB, free: 3.656 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.005463, allocations: 79.31 kB / 0.9338 GB, free: 3.574 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.005564, allocations: 117 kB / 0.9339 GB, free: 3.441 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.005702, allocations: 130.2 kB / 0.934 GB, free: 3.297 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.005704, allocations: 1.812 kB / 0.934 GB, free: 3.297 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002383/0.005942, allocations: 228.9 kB / 0.9342 GB, free: 3.055 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.005965, allocations: 39.23 kB / 0.9343 GB, free: 3.012 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.00597, allocations: 3.984 kB / 0.9343 GB, free: 3.008 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.00598, allocations: 0 / 0.9343 GB, free: 3.008 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.475e-05/0.006035, allocations: 12 kB / 0.9343 GB, free: 2.996 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.006043, allocations: 10.52 kB / 0.9343 GB, free: 2.988 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.323e-05/0.006136, allocations: 31.92 kB / 0.9343 GB, free: 2.957 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.006151, allocations: 7.984 kB / 0.9343 GB, free: 2.949 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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 5.575e-05/0.006206, allocations: 122.2 kB / 0.9344 GB, free: 2.82 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-06/0.006215, allocations: 12.52 kB / 0.9344 GB, free: 2.809 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001554/0.006371, allocations: 115 kB / 0.9346 GB, free: 2.691 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.006375, allocations: 5.641 kB / 0.9346 GB, free: 2.688 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.006376, allocations: 0 / 0.9346 GB, free: 2.688 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.094e-06/0.006383, allocations: 11.94 kB / 0.9346 GB, free: 2.676 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.006393, allocations: 0 / 0.9346 GB, free: 2.676 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.721e-05/0.006421, allocations: 12.61 kB / 0.9346 GB, free: 2.664 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.006452, allocations: 4 kB / 0.9346 GB, free: 2.66 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001505/0.006602, allocations: 192.9 kB / 0.9348 GB, free: 2.469 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001558/0.006758, allocations: 282.6 kB / 0.935 GB, free: 2.176 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.337e-05/0.006811, allocations: 27.97 kB / 0.9351 GB, free: 2.148 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.08e-05/0.006842, allocations: 95.2 kB / 0.9352 GB, free: 2.055 MB / 0.698 GB Notification: Performance of Backend: time 2.1e-07/0.006842, allocations: 0 / 0.9352 GB, free: 2.055 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003618/0.007204, allocations: 240.7 kB / 0.9354 GB, free: 1.797 MB / 0.698 GB Notification: Performance of SimCode: time 0.0003364/0.007541, allocations: 0.5931 MB / 0.936 GB, free: 1.156 MB / 0.698 GB Notification: Performance of Templates: time 0.002637/0.01018, allocations: 1.727 MB / 0.9377 GB, free: 15.48 MB / 0.7137 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.4115721844136715] Failed to read output from testmodel.py, exit status != 0: 0.014070459641516209 0.02208541 0.017135745 Calling exit ...