Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.0007271/0.0007271, 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.0007661/0.0007661, 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.8588/0.8588, 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.0339/0.0339, 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.0003753/0.0003753, allocations: 30.61 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.477/1.477, allocations: 275 MB / 0.6476 GB, free: 2.492 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.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.9295 GB, free: 8.105 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.407e-05/1.543e-05, allocations: 2.969 kB / 0.9295 GB, free: 8.102 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001155/0.00117, allocations: 0.7235 MB / 0.9302 GB, free: 7.395 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.002255, allocations: 1.183 MB / 0.9313 GB, free: 6.199 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.518e-05/0.0023, allocations: 0 / 0.9313 GB, free: 6.199 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.514e-05/0.002325, allocations: 4.875 kB / 0.9313 GB, free: 6.195 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.141e-05/0.002397, allocations: 11.86 kB / 0.9314 GB, free: 6.184 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004071/0.002804, allocations: 136.6 kB / 0.9315 GB, free: 6.055 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.002949, allocations: 123.7 kB / 0.9316 GB, free: 5.934 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.007e-05/0.003039, allocations: 15.97 kB / 0.9316 GB, free: 5.918 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.003153, allocations: 63.89 kB / 0.9317 GB, free: 5.855 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.821e-05/0.003232, allocations: 39.88 kB / 0.9317 GB, free: 5.816 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.003255, allocations: 12.5 kB / 0.9317 GB, free: 5.805 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.593e-05/0.003311, allocations: 24.83 kB / 0.9318 GB, free: 5.781 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.529e-05/0.003336, allocations: 15.97 kB / 0.9318 GB, free: 5.766 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.129e-05/0.003387, allocations: 31.92 kB / 0.9318 GB, free: 5.734 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.003548, allocations: 136.6 kB / 0.9319 GB, free: 5.602 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.00355, allocations: 0 / 0.9319 GB, free: 5.602 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.81e-07/0.003551, allocations: 0 / 0.9319 GB, free: 5.602 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.003555, allocations: 0.9062 kB / 0.9319 GB, free: 5.602 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004711/0.004026, allocations: 342.2 kB / 0.9323 GB, free: 5.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.004065, allocations: 15.98 kB / 0.9323 GB, free: 5.215 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.004104, allocations: 8.891 kB / 0.9323 GB, free: 5.207 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.427e-05/0.004179, allocations: 113.7 kB / 0.9324 GB, free: 5.07 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.004188, allocations: 4.375 kB / 0.9324 GB, free: 5.066 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.004209, allocations: 8.375 kB / 0.9324 GB, free: 5.059 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.004337, allocations: 67.3 kB / 0.9325 GB, free: 4.988 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.004349, allocations: 4.188 kB / 0.9325 GB, free: 4.984 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.00436, allocations: 8.375 kB / 0.9325 GB, free: 4.977 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.004364, allocations: 1.562 kB / 0.9325 GB, free: 4.977 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.79e-05/0.004462, allocations: 48.42 kB / 0.9325 GB, free: 4.93 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/0.004807, allocations: 265.6 kB / 0.9328 GB, free: 4.641 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.004921, allocations: 59.27 kB / 0.9328 GB, free: 4.574 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.314e-05/0.004974, allocations: 29.81 kB / 0.9329 GB, free: 4.543 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.004986, allocations: 0 / 0.9329 GB, free: 4.543 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001359/0.005122, allocations: 90.58 kB / 0.9329 GB, free: 4.445 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.153e-06/0.005123, allocations: 0 / 0.9329 GB, free: 4.445 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0002847/0.005408, allocations: 149.6 kB / 0.9331 GB, free: 4.293 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.005432, allocations: 63.28 kB / 0.9332 GB, free: 4.219 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.128e-05/0.005504, allocations: 120 kB / 0.9333 GB, free: 4.094 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.005526, allocations: 33.7 kB / 0.9333 GB, free: 4.055 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.73e-05/0.005574, allocations: 100.7 kB / 0.9334 GB, free: 3.953 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.005593, allocations: 23.8 kB / 0.9334 GB, free: 3.93 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/0.005645, allocations: 39.36 kB / 0.9335 GB, free: 3.887 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.936e-05/0.005724, allocations: 318.8 kB / 0.9338 GB, free: 3.566 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.005841, allocations: 85.66 kB / 0.9338 GB, free: 3.477 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.005957, allocations: 114.6 kB / 0.9339 GB, free: 3.348 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.006118, allocations: 138.5 kB / 0.9341 GB, free: 3.191 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.006121, allocations: 0.7188 kB / 0.9341 GB, free: 3.191 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002854/0.006406, allocations: 247.5 kB / 0.9343 GB, free: 2.934 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.006433, allocations: 37.64 kB / 0.9344 GB, free: 2.891 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.006438, allocations: 0 / 0.9344 GB, free: 2.891 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.006449, allocations: 4 kB / 0.9344 GB, free: 2.887 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.607e-05/0.006505, allocations: 12.61 kB / 0.9344 GB, free: 2.875 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.006513, allocations: 4.469 kB / 0.9344 GB, free: 2.871 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.006618, allocations: 37.58 kB / 0.9344 GB, free: 2.836 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.006633, allocations: 8 kB / 0.9344 GB, free: 2.828 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: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 6.908e-05/0.006702, allocations: 120.1 kB / 0.9345 GB, free: 2.703 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.939e-06/0.006712, allocations: 11.89 kB / 0.9345 GB, free: 2.691 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.186e-05/0.006733, allocations: 12.42 kB / 0.9346 GB, free: 2.68 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.006737, allocations: 0 / 0.9346 GB, free: 2.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.006738, allocations: 0 / 0.9346 GB, free: 2.68 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.804e-06/0.006746, allocations: 7.953 kB / 0.9346 GB, free: 2.672 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.006759, allocations: 7.438 kB / 0.9346 GB, free: 2.668 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.535e-05/0.006785, allocations: 7.984 kB / 0.9346 GB, free: 2.66 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.906e-05/0.006824, allocations: 11.97 kB / 0.9346 GB, free: 2.648 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001705/0.006994, allocations: 192.8 kB / 0.9348 GB, free: 2.453 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001774/0.007172, allocations: 287 kB / 0.935 GB, free: 2.156 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.937e-05/0.007231, allocations: 36.17 kB / 0.9351 GB, free: 2.121 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.829e-05/0.007269, allocations: 91.27 kB / 0.9352 GB, free: 2.031 MB / 0.698 GB Notification: Performance of Backend: time 2.31e-07/0.00727, allocations: 0 / 0.9352 GB, free: 2.031 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000387/0.007657, allocations: 244.3 kB / 0.9354 GB, free: 1.77 MB / 0.698 GB Notification: Performance of SimCode: time 0.0003866/0.008043, allocations: 0.6006 MB / 0.936 GB, free: 1.121 MB / 0.698 GB Notification: Performance of Templates: time 0.002901/0.01094, allocations: 1.726 MB / 0.9377 GB, free: 15.45 MB / 0.7137 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.544910910539329] Failed to read output from testmodel.py, exit status != 0: 0.015284215100109577 0.023689295000000003 0.018322215000000003 Calling exit ...