Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter.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.0007723/0.0007723, 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.0007719/0.0007719, 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.8485/0.8485, allocations: 177.1 MB / 203.7 MB, free: 5.711 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.03511/0.03511, allocations: 9.116 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.000373/0.000373, allocations: 19.97 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.459/1.459, allocations: 275 MB / 0.6476 GB, free: 2.461 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.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 3.062 kB / 0.9295 GB, free: 8.098 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.498e-05, allocations: 5.938 kB / 0.9295 GB, free: 8.094 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001349/0.001374, allocations: 0.6599 MB / 0.9301 GB, free: 7.449 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.002421, allocations: 1.242 MB / 0.9313 GB, free: 6.195 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.777e-05/0.002459, allocations: 0 / 0.9313 GB, free: 6.195 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.145e-05/0.00248, allocations: 7.938 kB / 0.9313 GB, free: 6.188 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.819e-05/0.002538, allocations: 12.5 kB / 0.9313 GB, free: 6.176 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004326/0.002971, allocations: 225.5 kB / 0.9316 GB, free: 5.965 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.003126, allocations: 179.6 kB / 0.9317 GB, free: 5.789 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.159e-05/0.003198, allocations: 8.562 kB / 0.9317 GB, free: 5.781 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.577e-05/0.003294, allocations: 97.19 kB / 0.9318 GB, free: 5.688 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.376e-05/0.003387, allocations: 55.84 kB / 0.9319 GB, free: 5.633 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.003411, allocations: 19.94 kB / 0.9319 GB, free: 5.613 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.303e-05/0.003474, allocations: 27.98 kB / 0.9319 GB, free: 5.586 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.991e-05/0.003494, allocations: 9.562 kB / 0.9319 GB, free: 5.578 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.49e-05/0.003549, allocations: 55.88 kB / 0.932 GB, free: 5.523 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.003724, allocations: 195.5 kB / 0.9322 GB, free: 5.332 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.003725, allocations: 0 / 0.9322 GB, free: 5.332 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.002e-06/0.003726, allocations: 0.7188 kB / 0.9322 GB, free: 5.332 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.986e-06/0.003729, allocations: 0 / 0.9322 GB, free: 5.332 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003834/0.004113, allocations: 367.8 kB / 0.9325 GB, free: 4.934 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.004145, allocations: 12.7 kB / 0.9325 GB, free: 4.922 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.116e-05/0.004186, allocations: 12.89 kB / 0.9326 GB, free: 4.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.932e-05/0.004256, allocations: 111.7 kB / 0.9327 GB, free: 4.777 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.004273, allocations: 12.36 kB / 0.9327 GB, free: 4.766 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.004296, allocations: 12.38 kB / 0.9327 GB, free: 4.754 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.205e-05/0.004378, allocations: 46.23 kB / 0.9327 GB, free: 4.703 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.004386, allocations: 7.875 kB / 0.9327 GB, free: 4.695 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.004395, allocations: 5.281 kB / 0.9327 GB, free: 4.691 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.004399, allocations: 7.938 kB / 0.9328 GB, free: 4.684 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.499e-05/0.004424, allocations: 8 kB / 0.9328 GB, free: 4.676 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003326/0.004756, allocations: 277 kB / 0.933 GB, free: 4.375 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.276e-05/0.004819, allocations: 30.52 kB / 0.9331 GB, free: 4.336 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.1e-05/0.00484, allocations: 26.69 kB / 0.9331 GB, free: 4.309 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/0.004847, allocations: 0 / 0.9331 GB, free: 4.309 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000115/0.004963, allocations: 91.36 kB / 0.9332 GB, free: 4.207 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.004964, allocations: 0 / 0.9332 GB, free: 4.207 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0002064/0.00517, allocations: 127.9 kB / 0.9333 GB, free: 4.078 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.311e-05/0.005193, allocations: 59.41 kB / 0.9333 GB, free: 4.008 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.262e-05/0.005256, allocations: 117.8 kB / 0.9335 GB, free: 3.883 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.005277, allocations: 29.7 kB / 0.9335 GB, free: 3.848 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.447e-05/0.005321, allocations: 100.3 kB / 0.9336 GB, free: 3.742 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.394e-05/0.005335, allocations: 15.89 kB / 0.9336 GB, free: 3.727 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.942e-05/0.005394, allocations: 55.44 kB / 0.9336 GB, free: 3.668 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.001e-05/0.005464, allocations: 318.8 kB / 0.934 GB, free: 3.348 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.005577, allocations: 123.4 kB / 0.9341 GB, free: 3.215 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.005701, allocations: 173.3 kB / 0.9342 GB, free: 3.012 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.005841, allocations: 187 kB / 0.9344 GB, free: 2.797 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.005843, allocations: 0.875 kB / 0.9344 GB, free: 2.797 MB / 0.698 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002984/0.006141, allocations: 351.7 kB / 0.9348 GB, free: 2.426 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.557e-05/0.006177, allocations: 67.39 kB / 0.9348 GB, free: 2.348 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.006184, allocations: 4 kB / 0.9348 GB, free: 2.344 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.006197, allocations: 0 / 0.9348 GB, free: 2.344 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.076e-05/0.006237, allocations: 8 kB / 0.9348 GB, free: 2.336 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.006246, allocations: 4 kB / 0.9348 GB, free: 2.332 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.006418, allocations: 57.86 kB / 0.9349 GB, free: 2.277 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.006438, allocations: 11.98 kB / 0.9349 GB, free: 2.266 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 (onCounter.y,$PRE.onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,reset.y,$PRE.reset.y,$whenCondition2,booPul.y,$PRE.booPul.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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 7.19e-05/0.00651, allocations: 130.2 kB / 0.935 GB, free: 2.129 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.205e-05/0.006522, allocations: 18.28 kB / 0.935 GB, free: 2.113 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.957e-05/0.006542, allocations: 8.438 kB / 0.935 GB, free: 2.102 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.006545, allocations: 0 / 0.935 GB, free: 2.102 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.006546, allocations: 3.938 kB / 0.935 GB, free: 2.098 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.764e-06/0.006553, allocations: 7.953 kB / 0.9351 GB, free: 2.09 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.006565, allocations: 0 / 0.9351 GB, free: 2.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.359e-05/0.006578, allocations: 7.984 kB / 0.9351 GB, free: 2.082 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.006608, allocations: 8.25 kB / 0.9351 GB, free: 2.074 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001153/0.006723, allocations: 184.8 kB / 0.9352 GB, free: 1.887 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001283/0.006851, allocations: 278.7 kB / 0.9355 GB, free: 1.598 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.048e-05/0.006882, allocations: 19.98 kB / 0.9355 GB, free: 1.578 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.11e-05/0.006913, allocations: 94.22 kB / 0.9356 GB, free: 1.488 MB / 0.698 GB Notification: Performance of Backend: time 3.71e-07/0.006913, allocations: 3.938 kB / 0.9356 GB, free: 1.484 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004061/0.007319, allocations: 348.5 kB / 0.936 GB, free: 1.102 MB / 0.698 GB Notification: Performance of SimCode: time 0.0003972/0.007717, allocations: 0.6161 MB / 0.9366 GB, free: 448 kB / 0.698 GB Notification: Performance of Templates: time 0.002975/0.01069, allocations: 2.195 MB / 0.9387 GB, free: 14.31 MB / 0.7137 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.55874246917665] Failed to read output from testmodel.py, exit status != 0: 0.01501986663788557 0.023033933000000003 0.017709013000000003 Calling exit ...