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.001374/0.001374, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001486/0.001486, allocations: 217.2 kB / 22.25 MB, free: 4.855 MB / 14.72 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 1.474/1.474, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.06165/0.06165, allocations: 12.19 MB / 324.6 MB, free: 7.078 MB / 254.1 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.0008284/0.0008284, allocations: 28.39 kB / 384.1 MB, free: 47.44 MB / 302.1 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 2.61/2.61, allocations: 353.9 MB / 0.7787 GB, free: 1.637 MB / 0.5138 GB " [Timeout remaining time 177] 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.003606/0.003606, allocations: 121.1 kB / 1.06 GB, free: 12.58 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2962, allocations: 134.9 MB / 1.192 GB, free: 5.785 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Switch): time 0.002079/0.2983, allocations: 0.7927 MB / 1.193 GB, free: 4.996 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001725/0.3, allocations: 1.317 MB / 1.194 GB, free: 3.668 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.794e-05/0.3001, allocations: 4 kB / 1.194 GB, free: 3.664 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 4.323e-05/0.3001, allocations: 15.8 kB / 1.194 GB, free: 3.648 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 8.37e-05/0.3002, allocations: 19.8 kB / 1.194 GB, free: 3.629 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008291/0.3011, allocations: 320.1 kB / 1.195 GB, free: 3.328 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0003437/0.3014, allocations: 299.5 kB / 1.195 GB, free: 3.035 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.3015, allocations: 33.48 kB / 1.195 GB, free: 2.996 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.3017, allocations: 115.8 kB / 1.195 GB, free: 2.883 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001844/0.3018, allocations: 95.67 kB / 1.195 GB, free: 2.789 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 5.453e-05/0.3019, allocations: 24 kB / 1.195 GB, free: 2.766 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 9.535e-05/0.302, allocations: 35.98 kB / 1.195 GB, free: 2.73 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 3.472e-05/0.302, allocations: 27.92 kB / 1.195 GB, free: 2.703 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.3022, allocations: 95.67 kB / 1.195 GB, free: 2.609 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0003245/0.3025, allocations: 267.1 kB / 1.196 GB, free: 2.348 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.3025, allocations: 8 kB / 1.196 GB, free: 2.34 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3025, allocations: 0 / 1.196 GB, free: 2.34 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.3025, allocations: 0 / 1.196 GB, free: 2.34 MB / 0.8263 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.0007119/0.3032, allocations: 462.8 kB / 1.196 GB, free: 1.84 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.3032, allocations: 11.98 kB / 1.196 GB, free: 1.828 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.452e-05/0.3033, allocations: 20.84 kB / 1.196 GB, free: 1.809 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.3035, allocations: 119 kB / 1.196 GB, free: 1.668 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.697e-05/0.3035, allocations: 24.05 kB / 1.196 GB, free: 1.645 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.931e-05/0.3035, allocations: 20 kB / 1.196 GB, free: 1.625 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.3037, allocations: 85.66 kB / 1.196 GB, free: 1.535 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.3037, allocations: 0 / 1.196 GB, free: 1.535 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.3038, allocations: 8 kB / 1.196 GB, free: 1.527 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.3038, allocations: 0 / 1.196 GB, free: 1.527 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.3039, allocations: 47.97 kB / 1.196 GB, free: 1.48 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006844/0.3046, allocations: 388 kB / 1.197 GB, free: 1.07 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.3048, allocations: 70.48 kB / 1.197 GB, free: 0.9922 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.004e-05/0.3049, allocations: 32.91 kB / 1.197 GB, free: 0.957 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 8.746e-06/0.3049, allocations: 0 / 1.197 GB, free: 0.957 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002079/0.3051, allocations: 103.3 kB / 1.197 GB, free: 0.8438 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.3051, allocations: 0 / 1.197 GB, free: 0.8438 MB / 0.8263 GB Notification: Performance of matching and sorting (n=14): time 0.000391/0.3055, allocations: 189.6 kB / 1.197 GB, free: 0.6523 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.3056, allocations: 59.39 kB / 1.197 GB, free: 0.582 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.3057, allocations: 154.3 kB / 1.197 GB, free: 432 kB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 4.894e-05/0.3057, allocations: 33.7 kB / 1.197 GB, free: 392 kB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 9.688e-05/0.3058, allocations: 108.5 kB / 1.197 GB, free: 280 kB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.3059, allocations: 27.81 kB / 1.197 GB, free: 252 kB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.306, allocations: 77.66 kB / 1.197 GB, free: 168 kB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001828/0.3062, allocations: 326.8 kB / 1.198 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000278/0.3065, allocations: 185 kB / 1.198 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003179/0.3068, allocations: 233.1 kB / 1.198 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003421/0.3071, allocations: 264.9 kB / 1.198 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3071, allocations: 0 / 1.198 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007507/0.3079, allocations: 495.5 kB / 1.199 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.174e-05/0.308, allocations: 102.8 kB / 1.199 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.308, allocations: 7.984 kB / 1.199 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.308, allocations: 0 / 1.199 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.238e-05/0.3081, allocations: 11.94 kB / 1.199 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3081, allocations: 7.938 kB / 1.199 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005/0.3086, allocations: 83.8 kB / 1.199 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-05/0.3086, allocations: 23.98 kB / 1.199 GB, free: 14.3 MB / 0.8419 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.0001488/0.3088, allocations: 129.8 kB / 1.199 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.3088, allocations: 19.81 kB / 1.199 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.273e-05/0.3088, allocations: 16.78 kB / 1.199 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3088, allocations: 4 kB / 1.199 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3088, allocations: 0 / 1.199 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3088, allocations: 0 / 1.199 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.309, allocations: 161.2 kB / 1.199 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.309, allocations: 0 / 1.199 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.78e-05/0.3091, allocations: 12 kB / 1.199 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.3091, allocations: 3.938 kB / 1.199 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.3091, allocations: 3.984 kB / 1.199 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3091, allocations: 0 / 1.199 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3091, allocations: 4 kB / 1.199 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.3093, allocations: 168.4 kB / 1.2 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.3094, allocations: 15.84 kB / 1.2 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.3094, allocations: 0 / 1.2 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.649e-05/0.3094, allocations: 8 kB / 1.2 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.3094, allocations: 11.97 kB / 1.2 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.3095, allocations: 11.94 kB / 1.2 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.73e-05/0.3095, allocations: 109.9 kB / 1.2 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9e-08/0.3095, allocations: 0 / 1.2 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002802/0.3098, allocations: 51.98 kB / 1.2 GB, free: 13.53 MB / 0.8419 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.0001505/0.31, allocations: 100.1 kB / 1.2 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005702/0.3105, allocations: 435.1 kB / 1.2 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3105, allocations: 0 / 1.2 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.617e-05/0.3106, allocations: 48.34 kB / 1.2 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.3109, allocations: 31.91 kB / 1.2 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005047/0.3114, allocations: 247.4 kB / 1.201 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.445e-05/0.3115, allocations: 90.28 kB / 1.201 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.049e-05/0.3115, allocations: 20.91 kB / 1.201 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.528e-05/0.3116, allocations: 15.44 kB / 1.201 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.3116, allocations: 0 / 1.201 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of Templates: time 0.006891/0.3185, allocations: 3.117 MB / 1.204 GB, free: 9.418 MB / 0.8419 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: 8.686859153211117] Failed to read output from testmodel.py, exit status != 0: 0.32799825444817543 0.341826785 0.036330503 Calling exit ...