Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch.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.0007753/0.0007753, allocations: 114.4 kB / 19.7 MB, free: 0.5312 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.001277/0.001277, allocations: 211.8 kB / 23 MB, free: 3.129 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.8769/0.8769, allocations: 230.6 MB / 256.8 MB, free: 3.477 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.03604/0.03604, allocations: 12.18 MB / 325.4 MB, free: 3.414 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.0003836/0.0003836, allocations: 25.62 kB / 384.9 MB, free: 45.74 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.593/1.593, allocations: 353.8 MB / 0.7794 GB, free: 13.06 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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch") translateModel(AixLib.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch") [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.001405/0.001405, allocations: 116.5 kB / 1.061 GB, free: 9.406 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2204, allocations: 134.9 MB / 1.193 GB, free: 2.582 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001544/0.2219, allocations: 0.83 MB / 1.194 GB, free: 1.758 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.2231, allocations: 1.334 MB / 1.195 GB, free: 420 kB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.767e-05/0.2231, allocations: 0 / 1.195 GB, free: 420 kB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.178e-05/0.2232, allocations: 11.88 kB / 1.195 GB, free: 408 kB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.641e-05/0.2233, allocations: 27.78 kB / 1.195 GB, free: 380 kB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000576/0.2238, allocations: 317.3 kB / 1.195 GB, free: 72 kB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.2241, allocations: 291.5 kB / 1.196 GB, free: 15.79 MB / 0.8387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.2242, allocations: 33.48 kB / 1.196 GB, free: 15.75 MB / 0.8387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.2243, allocations: 127.7 kB / 1.196 GB, free: 15.62 MB / 0.8387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.2244, allocations: 111.7 kB / 1.196 GB, free: 15.51 MB / 0.8387 GB Notification: Performance of NFPackage.collectConstants: time 3.259e-05/0.2245, allocations: 28 kB / 1.196 GB, free: 15.48 MB / 0.8387 GB Notification: Performance of NFFlatten.collectFunctions: time 6.928e-05/0.2245, allocations: 39.97 kB / 1.196 GB, free: 15.45 MB / 0.8387 GB Notification: Performance of NFScalarize.scalarize: time 2.719e-05/0.2246, allocations: 27.92 kB / 1.196 GB, free: 15.42 MB / 0.8387 GB Notification: Performance of NFVerifyModel.verify: time 8.749e-05/0.2247, allocations: 103.6 kB / 1.196 GB, free: 15.32 MB / 0.8387 GB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.2249, allocations: 259.2 kB / 1.196 GB, free: 15.06 MB / 0.8387 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2249, allocations: 0 / 1.196 GB, free: 15.06 MB / 0.8387 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2249, allocations: 0 / 1.196 GB, free: 15.06 MB / 0.8387 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.2249, allocations: 0 / 1.196 GB, free: 15.06 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004918/0.2254, allocations: 470.7 kB / 1.197 GB, free: 14.55 MB / 0.8387 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.2254, allocations: 15.98 kB / 1.197 GB, free: 14.54 MB / 0.8387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.399e-05/0.2255, allocations: 20.84 kB / 1.197 GB, free: 14.52 MB / 0.8387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.573e-05/0.2256, allocations: 124.5 kB / 1.197 GB, free: 14.38 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.2256, allocations: 16.12 kB / 1.197 GB, free: 14.36 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.2256, allocations: 27.98 kB / 1.197 GB, free: 14.33 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.2258, allocations: 87.72 kB / 1.197 GB, free: 14.24 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2258, allocations: 3.938 kB / 1.197 GB, free: 14.24 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.2258, allocations: 0 / 1.197 GB, free: 14.24 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.2258, allocations: 8 kB / 1.197 GB, free: 14.23 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.322e-05/0.2259, allocations: 47.97 kB / 1.197 GB, free: 14.18 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005088/0.2264, allocations: 475.2 kB / 1.198 GB, free: 13.68 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.2265, allocations: 62.62 kB / 1.198 GB, free: 13.61 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.116e-05/0.2266, allocations: 36.88 kB / 1.198 GB, free: 13.57 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.2266, allocations: 4 kB / 1.198 GB, free: 13.56 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001421/0.2267, allocations: 118.3 kB / 1.198 GB, free: 13.44 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=14): time 1.132e-06/0.2267, allocations: 0 / 1.198 GB, free: 13.44 MB / 0.8387 GB Notification: Performance of matching and sorting (n=14): time 0.0002538/0.227, allocations: 169.6 kB / 1.198 GB, free: 13.27 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.227, allocations: 55.41 kB / 1.198 GB, free: 13.2 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.773e-05/0.2271, allocations: 160.6 kB / 1.198 GB, free: 13.04 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.2272, allocations: 37.7 kB / 1.198 GB, free: 12.99 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 5.564e-05/0.2272, allocations: 112 kB / 1.198 GB, free: 12.88 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.2272, allocations: 35.78 kB / 1.198 GB, free: 12.84 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.542e-05/0.2273, allocations: 69.67 kB / 1.198 GB, free: 12.77 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 7.859e-05/0.2274, allocations: 326.8 kB / 1.199 GB, free: 12.44 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.2275, allocations: 103.9 kB / 1.199 GB, free: 12.34 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004145/0.2279, allocations: 144.8 kB / 1.199 GB, free: 12.18 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.2282, allocations: 249.4 kB / 1.199 GB, free: 11.9 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.2282, allocations: 4 kB / 1.199 GB, free: 11.89 MB / 0.8387 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003982/0.2286, allocations: 406.3 kB / 1.2 GB, free: 11.47 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 5.181e-05/0.2286, allocations: 103 kB / 1.2 GB, free: 11.36 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2286, allocations: 4 kB / 1.2 GB, free: 11.35 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.2286, allocations: 3.984 kB / 1.2 GB, free: 11.35 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.864e-05/0.2287, allocations: 8 kB / 1.2 GB, free: 11.34 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.2287, allocations: 4 kB / 1.2 GB, free: 11.34 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.2289, allocations: 91.92 kB / 1.2 GB, free: 11.25 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.2289, allocations: 19.98 kB / 1.2 GB, free: 11.23 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: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 3 * 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 8.19e-05/0.229, allocations: 134.3 kB / 1.2 GB, free: 11.09 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.439e-05/0.229, allocations: 19.84 kB / 1.2 GB, free: 11.07 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.368e-05/0.2291, allocations: 16.78 kB / 1.2 GB, free: 11.05 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2291, allocations: 4 kB / 1.2 GB, free: 11.05 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2291, allocations: 0 / 1.2 GB, free: 11.05 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2291, allocations: 0 / 1.2 GB, free: 11.05 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.2292, allocations: 188.7 kB / 1.2 GB, free: 10.82 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2292, allocations: 0 / 1.2 GB, free: 10.82 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.514e-05/0.2292, allocations: 19.88 kB / 1.2 GB, free: 10.8 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2292, allocations: 3.938 kB / 1.2 GB, free: 10.8 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.2292, allocations: 0 / 1.2 GB, free: 10.8 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.2292, allocations: 11.98 kB / 1.2 GB, free: 10.79 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.31e-07/0.2292, allocations: 0 / 1.2 GB, free: 10.79 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.2294, allocations: 165 kB / 1.2 GB, free: 10.61 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.248e-05/0.2294, allocations: 11.89 kB / 1.2 GB, free: 10.59 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.2294, allocations: 4 kB / 1.2 GB, free: 10.59 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.627e-05/0.2294, allocations: 3.938 kB / 1.2 GB, free: 10.59 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.2295, allocations: 11.98 kB / 1.2 GB, free: 10.57 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.2295, allocations: 11.98 kB / 1.2 GB, free: 10.56 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 5.431e-05/0.2295, allocations: 121.4 kB / 1.201 GB, free: 10.45 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2295, allocations: 4 kB / 1.201 GB, free: 10.44 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.000179/0.2297, allocations: 55.89 kB / 1.201 GB, free: 10.39 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: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0001092/0.2298, allocations: 100.7 kB / 1.201 GB, free: 10.28 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0003344/0.2301, allocations: 348.3 kB / 1.201 GB, free: 9.906 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2301, allocations: 0 / 1.201 GB, free: 9.906 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 5.578e-05/0.2302, allocations: 44.3 kB / 1.201 GB, free: 9.863 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.2304, allocations: 27.98 kB / 1.201 GB, free: 9.836 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003362/0.2307, allocations: 273.1 kB / 1.201 GB, free: 9.539 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/0.2309, allocations: 0.7123 MB / 1.202 GB, free: 8.801 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.398e-05/0.2309, allocations: 15.44 kB / 1.202 GB, free: 8.785 MB / 0.8387 GB Notification: Performance of SimCode: time 4e-07/0.2309, allocations: 0 / 1.202 GB, free: 8.785 MB / 0.8387 GB Notification: Performance of Templates: time 0.002651/0.2336, allocations: 2.278 MB / 1.204 GB, free: 6.535 MB / 0.8387 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.725868631154299] Failed to read output from testmodel.py, exit status != 0: 0.23876851424574852 0.24703728300000002 0.020533963000000002 Calling exit ...