Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.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.0007262/0.0007262, 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.0007765/0.0007765, 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.8413/0.8413, allocations: 177.1 MB / 203.6 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.03386/0.03386, allocations: 9.128 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.0004429/0.0004429, allocations: 19.91 kB / 328.7 MB, free: 5.785 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.497/1.497, allocations: 275 MB / 0.6476 GB, free: 2.812 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.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 1.375 kB / 0.9295 GB, free: 20.76 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.466e-05/2.689e-05, allocations: 2.281 kB / 0.9295 GB, free: 20.76 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001423/0.00145, allocations: 0.7233 MB / 0.9302 GB, free: 20.3 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.0009859/0.002436, allocations: 1.18 MB / 0.9313 GB, free: 19.45 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.942e-05/0.002485, allocations: 1.5 kB / 0.9313 GB, free: 19.45 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 2.561e-05/0.002511, allocations: 4.594 kB / 0.9313 GB, free: 19.45 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 6.828e-05/0.002579, allocations: 10.19 kB / 0.9313 GB, free: 19.44 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004056/0.002985, allocations: 138.3 kB / 0.9315 GB, free: 19.37 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.003116, allocations: 121.3 kB / 0.9316 GB, free: 19.32 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 8.062e-05/0.003197, allocations: 14.22 kB / 0.9316 GB, free: 19.31 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.003298, allocations: 68.75 kB / 0.9317 GB, free: 19.28 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 7.449e-05/0.003372, allocations: 40.72 kB / 0.9317 GB, free: 19.26 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.003395, allocations: 10.62 kB / 0.9317 GB, free: 19.26 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 5.808e-05/0.003454, allocations: 23.64 kB / 0.9317 GB, free: 19.26 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 2.028e-05/0.003474, allocations: 7.969 kB / 0.9318 GB, free: 19.25 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 4.92e-05/0.003523, allocations: 38.83 kB / 0.9318 GB, free: 19.23 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.003687, allocations: 125.2 kB / 0.9319 GB, free: 19.19 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.003689, allocations: 0 / 0.9319 GB, free: 19.19 MB / 0.7293 GB Notification: Performance of FrontEnd: time 1.222e-06/0.00369, allocations: 7.875 kB / 0.9319 GB, free: 19.18 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.003694, allocations: 0 / 0.9319 GB, free: 19.18 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000379/0.004073, allocations: 336.2 kB / 0.9322 GB, free: 18.86 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.004106, allocations: 13.45 kB / 0.9323 GB, free: 18.86 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.004146, allocations: 10.81 kB / 0.9323 GB, free: 18.86 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.264e-05/0.004198, allocations: 119.7 kB / 0.9324 GB, free: 18.72 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.004209, allocations: 8.578 kB / 0.9324 GB, free: 18.71 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.004227, allocations: 7.25 kB / 0.9324 GB, free: 18.71 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.004351, allocations: 68.08 kB / 0.9325 GB, free: 18.67 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.004357, allocations: 192 / 0.9325 GB, free: 18.67 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.004366, allocations: 5.812 kB / 0.9325 GB, free: 18.67 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.00437, allocations: 384 / 0.9325 GB, free: 18.67 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.004478, allocations: 51.14 kB / 0.9325 GB, free: 18.65 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003184/0.004797, allocations: 246.9 kB / 0.9327 GB, free: 18.43 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.004908, allocations: 57.25 kB / 0.9328 GB, free: 18.4 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.783e-05/0.004965, allocations: 34.81 kB / 0.9328 GB, free: 18.38 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 9.298e-06/0.004975, allocations: 3.938 kB / 0.9328 GB, free: 18.38 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/0.005118, allocations: 101.8 kB / 0.9329 GB, free: 18.31 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.00512, allocations: 0 / 0.9329 GB, free: 18.31 MB / 0.7293 GB Notification: Performance of matching and sorting (n=8): time 0.0002793/0.005399, allocations: 137.2 kB / 0.9331 GB, free: 18.25 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.598e-05/0.005415, allocations: 58.58 kB / 0.9331 GB, free: 18.19 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.337e-05/0.005468, allocations: 125 kB / 0.9332 GB, free: 18.07 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.005485, allocations: 28.33 kB / 0.9333 GB, free: 18.04 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 3.028e-05/0.005515, allocations: 98.27 kB / 0.9334 GB, free: 17.95 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.00553, allocations: 16.19 kB / 0.9334 GB, free: 17.94 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.817e-05/0.005578, allocations: 38.73 kB / 0.9334 GB, free: 17.91 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 2.612e-05/0.005605, allocations: 323.6 kB / 0.9337 GB, free: 17.59 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.005709, allocations: 86.33 kB / 0.9338 GB, free: 17.54 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.005813, allocations: 118.4 kB / 0.9339 GB, free: 17.45 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.005957, allocations: 142.2 kB / 0.9341 GB, free: 17.35 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.005959, allocations: 1.062 kB / 0.9341 GB, free: 17.35 MB / 0.7293 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002546/0.006214, allocations: 245.9 kB / 0.9343 GB, free: 17.2 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.006238, allocations: 40.42 kB / 0.9343 GB, free: 17.17 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.006243, allocations: 8.047 kB / 0.9343 GB, free: 17.16 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.006255, allocations: 2.156 kB / 0.9343 GB, free: 17.16 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.467e-05/0.006309, allocations: 11.02 kB / 0.9343 GB, free: 17.16 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.93e-05/0.006339, allocations: 2.016 kB / 0.9344 GB, free: 17.16 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.00645, allocations: 43.66 kB / 0.9344 GB, free: 17.15 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.006466, allocations: 7.922 kB / 0.9344 GB, free: 17.15 MB / 0.7293 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,edge1.y,edge1.u,$PRE.edge1.u,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 4.801e-05/0.006514, allocations: 126 kB / 0.9345 GB, free: 17.02 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.205e-06/0.006522, allocations: 7.078 kB / 0.9345 GB, free: 17.02 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.066e-05/0.006542, allocations: 15.17 kB / 0.9345 GB, free: 17.01 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.006545, allocations: 1.406 kB / 0.9345 GB, free: 17.01 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.006546, allocations: 0 / 0.9345 GB, free: 17.01 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-06/0.006553, allocations: 7.359 kB / 0.9345 GB, free: 17 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.006566, allocations: 6.375 kB / 0.9346 GB, free: 17 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.642e-05/0.006593, allocations: 6.656 kB / 0.9346 GB, free: 17 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.006628, allocations: 5.719 kB / 0.9346 GB, free: 17 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000161/0.006789, allocations: 191.9 kB / 0.9348 GB, free: 16.87 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001479/0.006937, allocations: 280.8 kB / 0.935 GB, free: 16.64 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.143e-05/0.006998, allocations: 32.83 kB / 0.935 GB, free: 16.64 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 2.216e-05/0.00702, allocations: 90.83 kB / 0.9351 GB, free: 16.56 MB / 0.7293 GB Notification: Performance of Backend: time 2.41e-07/0.007021, allocations: 3.938 kB / 0.9351 GB, free: 16.55 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0003737/0.007394, allocations: 243 kB / 0.9354 GB, free: 16.37 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0003207/0.007715, allocations: 0.5991 MB / 0.936 GB, free: 15.77 MB / 0.7293 GB Notification: Performance of Templates: time 0.00321/0.01093, allocations: 1.721 MB / 0.9376 GB, free: 15.58 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.678124912083149] Failed to read output from testmodel.py, exit status != 0: 0.01525239460170269 0.023229812000000002 0.017915651 Calling exit ...