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.001056/0.001056, allocations: 100.4 kB / 19.71 MB, free: 448 kB / 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.001359/0.001359, allocations: 212.1 kB / 23 MB, free: 2.977 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.9746/0.9746, allocations: 230.6 MB / 256.8 MB, free: 9.617 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.03721/0.03721, allocations: 12.2 MB / 325.4 MB, free: 6.105 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.0004805/0.0004805, allocations: 27.95 kB / 384.8 MB, free: 10.54 MB / 314.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.857/1.857, allocations: 353.9 MB / 0.7795 GB, free: 4.598 MB / 0.5105 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.0018/0.0018, allocations: 123.1 kB / 1.061 GB, free: 24.5 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3114, allocations: 134.9 MB / 1.193 GB, free: 7.02 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001949/0.3133, allocations: 0.7822 MB / 1.194 GB, free: 6.238 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001623/0.3149, allocations: 1.316 MB / 1.195 GB, free: 4.91 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.531e-05/0.315, allocations: 0 / 1.195 GB, free: 4.91 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 5.368e-05/0.3151, allocations: 15.8 kB / 1.195 GB, free: 4.895 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 9.416e-05/0.3152, allocations: 23.81 kB / 1.195 GB, free: 4.871 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007495/0.3159, allocations: 328.8 kB / 1.195 GB, free: 4.559 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003108/0.3162, allocations: 291.5 kB / 1.196 GB, free: 4.273 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.3164, allocations: 33.47 kB / 1.196 GB, free: 4.234 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.3165, allocations: 115.8 kB / 1.196 GB, free: 4.121 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.3167, allocations: 95.67 kB / 1.196 GB, free: 4.027 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 4.238e-05/0.3167, allocations: 28 kB / 1.196 GB, free: 4 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 9.213e-05/0.3168, allocations: 35.98 kB / 1.196 GB, free: 3.965 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.94e-05/0.3169, allocations: 23.92 kB / 1.196 GB, free: 3.941 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.317, allocations: 99.67 kB / 1.196 GB, free: 3.844 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003156/0.3173, allocations: 271.1 kB / 1.196 GB, free: 3.578 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.3173, allocations: 0 / 1.196 GB, free: 3.578 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.245e-06/0.3173, allocations: 0 / 1.196 GB, free: 3.578 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.3173, allocations: 0 / 1.196 GB, free: 3.578 MB / 0.823 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.0006382/0.318, allocations: 458.8 kB / 1.197 GB, free: 3.082 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.318, allocations: 12.03 kB / 1.197 GB, free: 3.07 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.705e-05/0.3181, allocations: 24.84 kB / 1.197 GB, free: 3.047 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.3182, allocations: 126.9 kB / 1.197 GB, free: 2.898 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000416/0.3186, allocations: 16.12 kB / 1.197 GB, free: 2.883 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.58e-05/0.3187, allocations: 20 kB / 1.197 GB, free: 2.863 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.3188, allocations: 91.53 kB / 1.197 GB, free: 2.77 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3188, allocations: 0 / 1.197 GB, free: 2.77 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.3189, allocations: 7.984 kB / 1.197 GB, free: 2.762 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.3189, allocations: 4 kB / 1.197 GB, free: 2.758 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.4e-05/0.3189, allocations: 39.98 kB / 1.197 GB, free: 2.719 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006212/0.3196, allocations: 400 kB / 1.197 GB, free: 2.297 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002425/0.3198, allocations: 70.56 kB / 1.197 GB, free: 2.219 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.078e-05/0.3199, allocations: 28.91 kB / 1.198 GB, free: 2.188 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.3199, allocations: 0 / 1.198 GB, free: 2.188 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002671/0.3201, allocations: 103.3 kB / 1.198 GB, free: 2.074 MB / 0.823 GB Notification: Performance of pre-optimization done (n=14): time 1.803e-06/0.3201, allocations: 0 / 1.198 GB, free: 2.074 MB / 0.823 GB Notification: Performance of matching and sorting (n=14): time 0.0003374/0.3205, allocations: 187.8 kB / 1.198 GB, free: 1.887 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.3205, allocations: 51.41 kB / 1.198 GB, free: 1.824 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.3207, allocations: 159.3 kB / 1.198 GB, free: 1.66 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.3207, allocations: 37.7 kB / 1.198 GB, free: 1.617 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.035e-05/0.3208, allocations: 112.5 kB / 1.198 GB, free: 1.504 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.3208, allocations: 27.81 kB / 1.198 GB, free: 1.477 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.173e-05/0.3209, allocations: 73.66 kB / 1.198 GB, free: 1.398 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.819e-05/0.321, allocations: 326.8 kB / 1.199 GB, free: 1.07 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.3212, allocations: 185 kB / 1.199 GB, free: 0.8711 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.3214, allocations: 236.2 kB / 1.199 GB, free: 0.6055 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.3216, allocations: 258.9 kB / 1.199 GB, free: 320 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3216, allocations: 0 / 1.199 GB, free: 320 kB / 0.823 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005365/0.3221, allocations: 0.4894 MB / 1.2 GB, free: 15.78 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 8.494e-05/0.3222, allocations: 105.1 kB / 1.2 GB, free: 15.66 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.3222, allocations: 3.938 kB / 1.2 GB, free: 15.66 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.3223, allocations: 4 kB / 1.2 GB, free: 15.65 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.347e-05/0.3223, allocations: 11.94 kB / 1.2 GB, free: 15.64 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.3223, allocations: 12.17 kB / 1.2 GB, free: 15.63 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002693/0.3226, allocations: 83.8 kB / 1.2 GB, free: 15.55 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/0.3226, allocations: 15.98 kB / 1.2 GB, free: 15.53 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 0.0001239/0.3228, allocations: 141.8 kB / 1.2 GB, free: 15.38 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/0.3228, allocations: 15.89 kB / 1.2 GB, free: 15.37 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.795e-05/0.3228, allocations: 12.78 kB / 1.2 GB, free: 15.36 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3228, allocations: 0 / 1.2 GB, free: 15.36 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3228, allocations: 0 / 1.2 GB, free: 15.36 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3228, allocations: 3.984 kB / 1.2 GB, free: 15.35 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.323, allocations: 145.2 kB / 1.2 GB, free: 15.18 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.323, allocations: 0 / 1.2 GB, free: 15.18 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.646e-05/0.323, allocations: 11.98 kB / 1.2 GB, free: 15.17 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.323, allocations: 3.938 kB / 1.2 GB, free: 15.16 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.323, allocations: 8 kB / 1.2 GB, free: 15.16 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.323, allocations: 4 kB / 1.2 GB, free: 15.15 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.323, allocations: 4 kB / 1.2 GB, free: 15.15 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001954/0.3232, allocations: 165 kB / 1.2 GB, free: 14.97 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.623e-05/0.3232, allocations: 15.78 kB / 1.2 GB, free: 14.95 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.3233, allocations: 4 kB / 1.2 GB, free: 14.95 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.47e-05/0.3233, allocations: 11.92 kB / 1.2 GB, free: 14.94 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.3233, allocations: 7.984 kB / 1.2 GB, free: 14.93 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.3233, allocations: 8 kB / 1.2 GB, free: 14.92 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 6.082e-05/0.3234, allocations: 108.2 kB / 1.201 GB, free: 14.82 MB / 0.8387 GB Notification: Performance of sort global known variables: time 4e-08/0.3234, allocations: 0 / 1.201 GB, free: 14.82 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001911/0.3236, allocations: 48 kB / 1.201 GB, free: 14.77 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.0001857/0.3238, allocations: 117.3 kB / 1.201 GB, free: 14.65 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0004473/0.3242, allocations: 439.1 kB / 1.201 GB, free: 14.16 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.3242, allocations: 0 / 1.201 GB, free: 14.16 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 6.799e-05/0.3243, allocations: 43.11 kB / 1.201 GB, free: 14.12 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.3246, allocations: 25.56 kB / 1.201 GB, free: 14.1 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004905/0.325, allocations: 289 kB / 1.201 GB, free: 13.79 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.336e-05/0.3251, allocations: 94.27 kB / 1.202 GB, free: 13.68 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.173e-05/0.3252, allocations: 15.44 kB / 1.202 GB, free: 13.66 MB / 0.8387 GB Notification: Performance of SimCode: time 1.092e-06/0.3252, allocations: 0 / 1.202 GB, free: 13.66 MB / 0.8387 GB Notification: Performance of Templates: time 0.00386/0.329, allocations: 2.253 MB / 1.204 GB, free: 11.43 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: 7.805852215737104] Failed to read output from testmodel.py, exit status != 0: 0.337394455447793 0.35159263399999996 0.031438634 Calling exit ...