Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.000813/0.000813, allocations: 100.4 kB / 19.7 MB, free: 452 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.0009762/0.0009762, allocations: 212.1 kB / 23 MB, free: 2.98 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.8711/0.8711, allocations: 230.6 MB / 256.8 MB, free: 9.621 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.6963/0.6963, allocations: 203.8 MB / 0.5049 GB, free: 10.43 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch") [Timeout 660] "Notification: IDEAS 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.0007669/0.0007669, allocations: 71.02 kB / 0.7194 GB, free: 3.492 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3917, allocations: 102 MB / 0.819 GB, free: 1.316 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001335/0.393, allocations: 0.7913 MB / 0.8198 GB, free: 0.8203 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009471/0.394, allocations: 1.31 MB / 0.8211 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.042e-05/0.394, allocations: 3.406 kB / 0.8211 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.788e-05/0.3941, allocations: 13.27 kB / 0.8211 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.756e-05/0.3941, allocations: 25 kB / 0.8211 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005581/0.3947, allocations: 323.2 kB / 0.8214 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.3949, allocations: 286.6 kB / 0.8217 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.628e-05/0.395, allocations: 35.91 kB / 0.8217 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.867e-05/0.3951, allocations: 114.9 kB / 0.8218 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.3952, allocations: 100.2 kB / 0.8219 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.537e-05/0.3953, allocations: 29.91 kB / 0.822 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.173e-05/0.3953, allocations: 38.73 kB / 0.822 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.548e-05/0.3954, allocations: 30.47 kB / 0.822 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.199e-05/0.3954, allocations: 89.91 kB / 0.8221 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.3957, allocations: 267.3 kB / 0.8224 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3957, allocations: 0.6562 kB / 0.8224 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.704e-06/0.3957, allocations: 0.9375 kB / 0.8224 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.3957, allocations: 0 / 0.8224 GB, free: 15.3 MB / 0.6198 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.0004684/0.3961, allocations: 462.7 kB / 0.8228 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.3962, allocations: 7.688 kB / 0.8228 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.235e-05/0.3962, allocations: 22.78 kB / 0.8228 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.963e-05/0.3963, allocations: 137.5 kB / 0.823 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.3963, allocations: 21.2 kB / 0.823 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.3964, allocations: 20.69 kB / 0.823 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.3965, allocations: 86.78 kB / 0.8231 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.3965, allocations: 0 / 0.8231 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.3965, allocations: 4 kB / 0.8231 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.3965, allocations: 4.344 kB / 0.8231 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.587e-05/0.3966, allocations: 45.78 kB / 0.8232 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004508/0.397, allocations: 377.6 kB / 0.8235 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.3972, allocations: 71.59 kB / 0.8236 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.845e-05/0.3973, allocations: 27.06 kB / 0.8236 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.3973, allocations: 0 / 0.8236 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001452/0.3974, allocations: 117.7 kB / 0.8237 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 9.22e-07/0.3974, allocations: 0 / 0.8237 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0002619/0.3977, allocations: 174.8 kB / 0.8239 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.3977, allocations: 54.2 kB / 0.8239 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.164e-05/0.3978, allocations: 159.4 kB / 0.8241 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.3978, allocations: 30.64 kB / 0.8241 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.736e-05/0.3979, allocations: 118.5 kB / 0.8242 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.3979, allocations: 38.16 kB / 0.8243 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.782e-05/0.398, allocations: 76.88 kB / 0.8243 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.847e-05/0.3981, allocations: 326 kB / 0.8247 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.3982, allocations: 188.5 kB / 0.8248 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.3984, allocations: 233.4 kB / 0.8251 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.3986, allocations: 254.4 kB / 0.8253 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3986, allocations: 0.5625 kB / 0.8253 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004435/0.3991, allocations: 495.9 kB / 0.8258 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.783e-05/0.3991, allocations: 98.3 kB / 0.8259 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3991, allocations: 1.188 kB / 0.8259 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3991, allocations: 3.469 kB / 0.8259 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.952e-05/0.3992, allocations: 14.52 kB / 0.8259 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3992, allocations: 3.484 kB / 0.8259 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002419/0.3994, allocations: 83.8 kB / 0.826 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.3995, allocations: 22.03 kB / 0.826 GB, free: 12.49 MB / 0.6198 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.145e-05/0.3995, allocations: 137.5 kB / 0.8261 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.3995, allocations: 23.17 kB / 0.8261 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.306e-05/0.3996, allocations: 14.59 kB / 0.8262 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3996, allocations: 7.125 kB / 0.8262 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3996, allocations: 0 / 0.8262 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.3996, allocations: 1.312 kB / 0.8262 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.461e-05/0.3997, allocations: 146.3 kB / 0.8263 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3997, allocations: 2.219 kB / 0.8263 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.057e-05/0.3997, allocations: 7.906 kB / 0.8263 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.3997, allocations: 6.141 kB / 0.8263 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.3997, allocations: 6.672 kB / 0.8263 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3997, allocations: 0.7969 kB / 0.8263 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.3997, allocations: 3.938 kB / 0.8263 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.3999, allocations: 177.6 kB / 0.8265 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.004e-05/0.3999, allocations: 10.34 kB / 0.8265 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.3999, allocations: 5.641 kB / 0.8265 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.754e-05/0.3999, allocations: 1.984 kB / 0.8265 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.3999, allocations: 13.44 kB / 0.8265 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.3999, allocations: 5.031 kB / 0.8265 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.533e-05/0.4, allocations: 108.1 kB / 0.8266 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4, allocations: 0 / 0.8266 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000181/0.4002, allocations: 56.55 kB / 0.8267 GB, free: 11.96 MB / 0.6198 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 9.575e-05/0.4003, allocations: 111.3 kB / 0.8268 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003567/0.4006, allocations: 433 kB / 0.8272 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.4006, allocations: 3.875 kB / 0.8272 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.395e-05/0.4007, allocations: 37.83 kB / 0.8272 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.4008, allocations: 39.12 kB / 0.8273 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003202/0.4012, allocations: 272.8 kB / 0.8275 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.665e-05/0.4012, allocations: 94.59 kB / 0.8276 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.253e-05/0.4012, allocations: 16.36 kB / 0.8277 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of SimCode: time 3.31e-07/0.4012, allocations: 0 / 0.8277 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of Templates: time 0.003014/0.4043, allocations: 2.273 MB / 0.8299 GB, free: 10.95 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.249861710704863] Failed to read output from testmodel.py, exit status != 0: 0.4092433010227978 0.418042348 0.020636707 Calling exit ...