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.0008216/0.0008216, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.0008798/0.0008798, allocations: 211.9 kB / 23.01 MB, free: 3.113 MB / 13.93 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.8842/0.8842, allocations: 230.6 MB / 256.8 MB, free: 3.449 MB / 202.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.03793/0.03793, allocations: 12.19 MB / 325.4 MB, free: 3.402 MB / 250.7 MB " [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.0004009/0.0004009, allocations: 26.97 kB / 384.9 MB, free: 45.82 MB / 298.7 MB " [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.558/1.558, allocations: 353.8 MB / 0.7794 GB, free: 12.96 MB / 0.5262 GB " [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: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 122.5 kB / 1.061 GB, free: 9.367 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2137, allocations: 134.9 MB / 1.193 GB, free: 2.539 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001367/0.2151, allocations: 0.6651 MB / 1.194 GB, free: 1.875 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.2163, allocations: 1.255 MB / 1.195 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.413e-05/0.2163, allocations: 0 / 1.195 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.756e-05/0.2164, allocations: 7.938 kB / 1.195 GB, free: 0.6016 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.402e-05/0.2164, allocations: 15.86 kB / 1.195 GB, free: 0.5859 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004916/0.2169, allocations: 220.3 kB / 1.195 GB, free: 388 kB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.2171, allocations: 183.6 kB / 1.195 GB, free: 204 kB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.973e-05/0.2172, allocations: 8 kB / 1.195 GB, free: 196 kB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.384e-05/0.2173, allocations: 71.88 kB / 1.195 GB, free: 124 kB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.2174, allocations: 63.84 kB / 1.195 GB, free: 60 kB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.2174, allocations: 20 kB / 1.195 GB, free: 40 kB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.923e-05/0.2175, allocations: 31.98 kB / 1.195 GB, free: 8 kB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.328e-05/0.2175, allocations: 12.03 kB / 1.195 GB, free: 15.99 MB / 0.8387 GB Notification: Performance of NFVerifyModel.verify: time 6.125e-05/0.2176, allocations: 59.72 kB / 1.196 GB, free: 15.94 MB / 0.8387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.2177, allocations: 155.5 kB / 1.196 GB, free: 15.79 MB / 0.8387 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2177, allocations: 0 / 1.196 GB, free: 15.79 MB / 0.8387 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2177, allocations: 4 kB / 1.196 GB, free: 15.78 MB / 0.8387 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.2177, allocations: 0 / 1.196 GB, free: 15.78 MB / 0.8387 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.0004246/0.2182, allocations: 369.5 kB / 1.196 GB, free: 15.38 MB / 0.8387 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.2182, allocations: 15.98 kB / 1.196 GB, free: 15.36 MB / 0.8387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/0.2183, allocations: 8.938 kB / 1.196 GB, free: 15.36 MB / 0.8387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.969e-05/0.2183, allocations: 114.5 kB / 1.196 GB, free: 15.22 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.2184, allocations: 8.359 kB / 1.196 GB, free: 15.21 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.2184, allocations: 8.375 kB / 1.196 GB, free: 15.2 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.379e-05/0.2185, allocations: 53.62 kB / 1.196 GB, free: 15.14 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.2185, allocations: 3.984 kB / 1.196 GB, free: 15.14 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.597e-06/0.2185, allocations: 0 / 1.196 GB, free: 15.14 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.2185, allocations: 3.938 kB / 1.196 GB, free: 15.14 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.774e-05/0.2185, allocations: 12 kB / 1.196 GB, free: 15.12 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/0.2189, allocations: 335.8 kB / 1.197 GB, free: 14.75 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 6.727e-05/0.219, allocations: 26.58 kB / 1.197 GB, free: 14.72 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.373e-05/0.219, allocations: 24.92 kB / 1.197 GB, free: 14.69 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 6.692e-06/0.219, allocations: 0 / 1.197 GB, free: 14.69 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001377/0.2192, allocations: 99.25 kB / 1.197 GB, free: 14.58 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=9): time 7.71e-07/0.2192, allocations: 0 / 1.197 GB, free: 14.58 MB / 0.8387 GB Notification: Performance of matching and sorting (n=9): time 0.0002121/0.2194, allocations: 129.5 kB / 1.197 GB, free: 14.45 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.2194, allocations: 59.41 kB / 1.197 GB, free: 14.38 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.01e-05/0.2195, allocations: 121.6 kB / 1.197 GB, free: 14.25 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.2195, allocations: 29.7 kB / 1.197 GB, free: 14.21 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 5.088e-05/0.2195, allocations: 100.3 kB / 1.197 GB, free: 14.11 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 1.428e-05/0.2196, allocations: 15.89 kB / 1.197 GB, free: 14.09 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.02e-05/0.2196, allocations: 53.69 kB / 1.197 GB, free: 14.04 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 8.111e-05/0.2197, allocations: 330.8 kB / 1.198 GB, free: 13.7 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.35e-05/0.2198, allocations: 55.97 kB / 1.198 GB, free: 13.65 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.2199, allocations: 112.6 kB / 1.198 GB, free: 13.52 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.2201, allocations: 185.3 kB / 1.198 GB, free: 13.3 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.2201, allocations: 4 kB / 1.198 GB, free: 13.3 MB / 0.8387 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002883/0.2204, allocations: 280.8 kB / 1.198 GB, free: 13.01 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.2204, allocations: 72.64 kB / 1.198 GB, free: 12.93 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.2204, allocations: 4.156 kB / 1.198 GB, free: 12.92 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.2204, allocations: 4 kB / 1.198 GB, free: 12.92 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.217e-05/0.2205, allocations: 7.984 kB / 1.198 GB, free: 12.91 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.2205, allocations: 0 / 1.198 GB, free: 12.91 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.2206, allocations: 59.83 kB / 1.198 GB, free: 12.85 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.2206, allocations: 12 kB / 1.198 GB, free: 12.84 MB / 0.8387 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.333e-05/0.2207, allocations: 135.4 kB / 1.198 GB, free: 12.7 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.01e-05/0.2207, allocations: 11.95 kB / 1.198 GB, free: 12.69 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.983e-05/0.2208, allocations: 4.375 kB / 1.198 GB, free: 12.68 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.2208, allocations: 4 kB / 1.198 GB, free: 12.68 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.2208, allocations: 0 / 1.198 GB, free: 12.68 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.2208, allocations: 0 / 1.198 GB, free: 12.68 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002273/0.221, allocations: 337.5 kB / 1.199 GB, free: 12.3 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.221, allocations: 0 / 1.199 GB, free: 12.3 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.95e-06/0.221, allocations: 4 kB / 1.199 GB, free: 12.29 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.221, allocations: 4.469 kB / 1.199 GB, free: 12.29 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.221, allocations: 4 kB / 1.199 GB, free: 12.29 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.221, allocations: 7.922 kB / 1.199 GB, free: 12.28 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.221, allocations: 3.938 kB / 1.199 GB, free: 12.27 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.2211, allocations: 203.3 kB / 1.199 GB, free: 12.06 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-06/0.2211, allocations: 4 kB / 1.199 GB, free: 12.05 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.2211, allocations: 0 / 1.199 GB, free: 12.05 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.307e-05/0.2212, allocations: 4 kB / 1.199 GB, free: 12.05 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.262e-05/0.2212, allocations: 15.92 kB / 1.199 GB, free: 12.04 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.2212, allocations: 4 kB / 1.199 GB, free: 12.03 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 3.493e-05/0.2213, allocations: 95.2 kB / 1.199 GB, free: 11.94 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2213, allocations: 0 / 1.199 GB, free: 11.94 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001873/0.2214, allocations: 36 kB / 1.199 GB, free: 11.9 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * Number of discrete states: 1 (onCounter.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001055/0.2216, allocations: 103.2 kB / 1.199 GB, free: 11.79 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002409/0.2218, allocations: 230.8 kB / 1.199 GB, free: 11.54 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2218, allocations: 0 / 1.199 GB, free: 11.54 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 3.997e-05/0.2218, allocations: 27.92 kB / 1.199 GB, free: 11.52 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.222, allocations: 22.94 kB / 1.199 GB, free: 11.5 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002737/0.2223, allocations: 198.5 kB / 1.2 GB, free: 11.27 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001723/0.2225, allocations: 0.6887 MB / 1.2 GB, free: 10.56 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.105e-05/0.2225, allocations: 15.44 kB / 1.2 GB, free: 10.54 MB / 0.8387 GB Notification: Performance of SimCode: time 4.1e-07/0.2225, allocations: 3.938 kB / 1.2 GB, free: 10.54 MB / 0.8387 GB Notification: Performance of Templates: time 0.002051/0.2246, allocations: 1.487 MB / 1.202 GB, free: 9.07 MB / 0.8387 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: 6.579987330362201] Failed to read output from testmodel.py, exit status != 0: 0.23061187379062176 0.237603888 0.018226115 Calling exit ...