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.001377/0.001377, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001651/0.001651, allocations: 215.9 kB / 22.26 MB, free: 5.078 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.548/1.548, allocations: 230.6 MB / 256 MB, free: 8.027 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.06423/0.06423, allocations: 12.18 MB / 324.6 MB, free: 7.312 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.000771/0.000771, allocations: 28.39 kB / 384.1 MB, free: 46.66 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.468/2.468, allocations: 353.8 MB / 0.7787 GB, free: 1.039 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.00363/0.00363, allocations: 116.4 kB / 1.061 GB, free: 13.08 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2647, allocations: 134.9 MB / 1.192 GB, free: 6.258 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Switch): time 0.002/0.2667, allocations: 0.8172 MB / 1.193 GB, free: 5.441 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001729/0.2684, allocations: 1.336 MB / 1.194 GB, free: 4.094 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.43e-05/0.2684, allocations: 4 kB / 1.194 GB, free: 4.09 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 4.568e-05/0.2685, allocations: 11.81 kB / 1.194 GB, free: 4.078 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 9.674e-05/0.2686, allocations: 23.8 kB / 1.194 GB, free: 4.055 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.000854/0.2694, allocations: 323.6 kB / 1.195 GB, free: 3.75 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0003548/0.2698, allocations: 295.5 kB / 1.195 GB, free: 3.461 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.2699, allocations: 33.48 kB / 1.195 GB, free: 3.422 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.2701, allocations: 115.7 kB / 1.195 GB, free: 3.309 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.2703, allocations: 119.6 kB / 1.195 GB, free: 3.191 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 4.728e-05/0.2703, allocations: 24 kB / 1.195 GB, free: 3.168 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 9.054e-05/0.2704, allocations: 47.98 kB / 1.195 GB, free: 3.121 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 3.135e-05/0.2704, allocations: 19.92 kB / 1.195 GB, free: 3.102 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.2706, allocations: 107.6 kB / 1.195 GB, free: 2.996 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0003167/0.2709, allocations: 263.1 kB / 1.196 GB, free: 2.738 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2709, allocations: 0 / 1.196 GB, free: 2.738 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2709, allocations: 0 / 1.196 GB, free: 2.738 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.2709, allocations: 4 kB / 1.196 GB, free: 2.734 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.0006531/0.2715, allocations: 466.8 kB / 1.196 GB, free: 2.23 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.2716, allocations: 11.98 kB / 1.196 GB, free: 2.219 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.19e-05/0.2716, allocations: 20.84 kB / 1.196 GB, free: 2.199 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.2718, allocations: 126.9 kB / 1.196 GB, free: 2.051 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.2718, allocations: 20.11 kB / 1.196 GB, free: 2.031 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.486e-05/0.2718, allocations: 16 kB / 1.196 GB, free: 2.016 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.272, allocations: 91.72 kB / 1.196 GB, free: 1.922 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.272, allocations: 0 / 1.196 GB, free: 1.922 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.272, allocations: 0 / 1.196 GB, free: 1.922 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.272, allocations: 0 / 1.196 GB, free: 1.922 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.2722, allocations: 55.95 kB / 1.196 GB, free: 1.867 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000719/0.2729, allocations: 479.2 kB / 1.197 GB, free: 1.355 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.2731, allocations: 66.62 kB / 1.197 GB, free: 1.281 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.44e-05/0.2732, allocations: 24.84 kB / 1.197 GB, free: 1.254 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.2732, allocations: 4 kB / 1.197 GB, free: 1.25 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002197/0.2734, allocations: 119.4 kB / 1.197 GB, free: 1.121 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.2734, allocations: 0 / 1.197 GB, free: 1.121 MB / 0.8263 GB Notification: Performance of matching and sorting (n=14): time 0.0003723/0.2738, allocations: 176.7 kB / 1.197 GB, free: 0.9453 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.2738, allocations: 55.41 kB / 1.197 GB, free: 0.8789 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.274, allocations: 160.2 kB / 1.198 GB, free: 0.7148 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 4.18e-05/0.274, allocations: 33.7 kB / 1.198 GB, free: 0.6758 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 9.547e-05/0.2741, allocations: 120 kB / 1.198 GB, free: 0.5547 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.2741, allocations: 27.8 kB / 1.198 GB, free: 0.5273 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.2743, allocations: 73.67 kB / 1.198 GB, free: 460 kB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.2744, allocations: 326.8 kB / 1.198 GB, free: 124 kB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.2746, allocations: 95.94 kB / 1.198 GB, free: 28 kB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.2749, allocations: 147.9 kB / 1.198 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003124/0.2752, allocations: 253.8 kB / 1.199 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2752, allocations: 0 / 1.199 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006392/0.2758, allocations: 410.6 kB / 1.199 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.017e-05/0.2759, allocations: 109 kB / 1.199 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2759, allocations: 0 / 1.199 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.761e-05/0.2759, allocations: 4 kB / 1.199 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.904e-05/0.276, allocations: 11.94 kB / 1.199 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.276, allocations: 4 kB / 1.199 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004489/0.2764, allocations: 87.8 kB / 1.199 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.204e-05/0.2765, allocations: 19.98 kB / 1.199 GB, free: 14.9 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.0001399/0.2766, allocations: 142.2 kB / 1.199 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.2766, allocations: 15.84 kB / 1.199 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.125e-05/0.2767, allocations: 12.78 kB / 1.199 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2767, allocations: 0 / 1.199 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2767, allocations: 0 / 1.199 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.2767, allocations: 3.984 kB / 1.199 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.2769, allocations: 192.7 kB / 1.2 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2769, allocations: 0 / 1.2 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.518e-05/0.2769, allocations: 11.94 kB / 1.2 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.2769, allocations: 3.938 kB / 1.2 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.2769, allocations: 7.984 kB / 1.2 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2769, allocations: 0 / 1.2 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2769, allocations: 0 / 1.2 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.2772, allocations: 164.9 kB / 1.2 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 2.424e-05/0.2772, allocations: 19.89 kB / 1.2 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.2772, allocations: 4 kB / 1.2 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.029e-05/0.2772, allocations: 0 / 1.2 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.2773, allocations: 15.97 kB / 1.2 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.2773, allocations: 4 kB / 1.2 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.991e-05/0.2774, allocations: 124 kB / 1.2 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of sort global known variables: time 7e-08/0.2774, allocations: 0 / 1.2 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002718/0.2777, allocations: 55.89 kB / 1.2 GB, free: 14.07 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.0001467/0.2778, allocations: 107.2 kB / 1.2 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004912/0.2783, allocations: 342 kB / 1.2 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2783, allocations: 0 / 1.2 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.125e-05/0.2784, allocations: 43.92 kB / 1.2 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.2786, allocations: 32.3 kB / 1.2 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004755/0.2791, allocations: 253.9 kB / 1.201 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.2794, allocations: 0.7084 MB / 1.201 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.582e-05/0.2795, allocations: 8.656 kB / 1.201 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.2795, allocations: 19.42 kB / 1.201 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of SimCode: time 3e-07/0.2795, allocations: 0 / 1.201 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of Templates: time 0.006713/0.2862, allocations: 2.841 MB / 1.204 GB, free: 9.68 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.207709826529026] Failed to read output from testmodel.py, exit status != 0: 0.2946712374687195 0.30874769100000005 0.034735933000000004 Calling exit ...