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.0007159/0.0007159, allocations: 72.45 kB / 19.9 MB, free: 16 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.0007318/0.0007318, allocations: 165.9 kB / 23.18 MB, free: 1.383 MB / 18.57 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.8411/0.8411, allocations: 177.2 MB / 203.6 MB, free: 5.781 MB / 186.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.6953/0.6953, allocations: 155 MB / 415 MB, free: 488 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.0008814/0.0008814, allocations: 73.7 kB / 0.6199 GB, free: 12.73 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.414, allocations: 102 MB / 0.7195 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch): time 0.00148/0.4155, allocations: 0.7928 MB / 0.7203 GB, free: 22.99 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.4166, allocations: 1.312 MB / 0.7215 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.684e-05/0.4167, allocations: 5.156 kB / 0.7216 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.714e-05/0.4167, allocations: 14.39 kB / 0.7216 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.167e-05/0.4168, allocations: 16.94 kB / 0.7216 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000644/0.4175, allocations: 330.7 kB / 0.7219 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002737/0.4177, allocations: 295.7 kB / 0.7222 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.4179, allocations: 25.02 kB / 0.7222 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.418, allocations: 166.5 kB / 0.7224 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.4182, allocations: 92.38 kB / 0.7224 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.802e-05/0.4182, allocations: 26.12 kB / 0.7225 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.653e-05/0.4183, allocations: 42.77 kB / 0.7225 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.565e-05/0.4183, allocations: 29.72 kB / 0.7225 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.143e-05/0.4184, allocations: 95.39 kB / 0.7226 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003346/0.4187, allocations: 319.3 kB / 0.7229 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4187, allocations: 4 kB / 0.7229 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4187, allocations: 0 / 0.7229 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.4188, allocations: 0 / 0.7229 GB, free: 21.41 MB / 0.6355 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.0005012/0.4193, allocations: 465 kB / 0.7234 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.4193, allocations: 10.88 kB / 0.7234 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.89e-05/0.4194, allocations: 18.39 kB / 0.7234 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.819e-05/0.4194, allocations: 137.2 kB / 0.7235 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.4195, allocations: 12.69 kB / 0.7236 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.4195, allocations: 21.94 kB / 0.7236 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.4196, allocations: 87.72 kB / 0.7237 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.4196, allocations: 0 / 0.7237 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.4197, allocations: 6.531 kB / 0.7237 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.4197, allocations: 6.266 kB / 0.7237 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.996e-05/0.4197, allocations: 47.33 kB / 0.7237 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004678/0.4202, allocations: 382.6 kB / 0.7241 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.4204, allocations: 65.62 kB / 0.7241 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.894e-05/0.4204, allocations: 35.8 kB / 0.7242 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.4204, allocations: 2.062 kB / 0.7242 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001936/0.4206, allocations: 116.5 kB / 0.7243 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 1.894e-06/0.4206, allocations: 7.938 kB / 0.7243 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0003156/0.421, allocations: 168.9 kB / 0.7245 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.421, allocations: 59.34 kB / 0.7245 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.213e-05/0.4211, allocations: 156.2 kB / 0.7247 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.4211, allocations: 35.14 kB / 0.7247 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.954e-05/0.4212, allocations: 109.5 kB / 0.7248 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.4212, allocations: 34.14 kB / 0.7248 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.4213, allocations: 77.53 kB / 0.7249 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.857e-05/0.4213, allocations: 322.4 kB / 0.7252 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.4215, allocations: 184.5 kB / 0.7254 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.4217, allocations: 239.3 kB / 0.7256 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.4219, allocations: 254.7 kB / 0.7259 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.4219, allocations: 0 / 0.7259 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004898/0.4224, allocations: 494.7 kB / 0.7263 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.228e-05/0.4224, allocations: 101.8 kB / 0.7264 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.4224, allocations: 1.469 kB / 0.7264 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.4225, allocations: 2.656 kB / 0.7264 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.36e-05/0.4225, allocations: 18.47 kB / 0.7265 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.4225, allocations: 4.125 kB / 0.7265 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/0.4228, allocations: 79.36 kB / 0.7265 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.017e-05/0.4228, allocations: 30.3 kB / 0.7266 GB, free: 18.59 MB / 0.6355 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 7.79e-05/0.4229, allocations: 137.3 kB / 0.7267 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.4229, allocations: 17.75 kB / 0.7267 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.729e-05/0.4229, allocations: 12.88 kB / 0.7267 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.4229, allocations: 1.812 kB / 0.7267 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.4229, allocations: 0 / 0.7267 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4229, allocations: 1.453 kB / 0.7267 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.983e-05/0.423, allocations: 147.5 kB / 0.7269 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.423, allocations: 0 / 0.7269 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.712e-05/0.4231, allocations: 21.28 kB / 0.7269 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.4231, allocations: 1.812 kB / 0.7269 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.4231, allocations: 2.688 kB / 0.7269 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4231, allocations: 0 / 0.7269 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4231, allocations: 2.094 kB / 0.7269 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.4232, allocations: 165.7 kB / 0.7271 GB, free: 18.19 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.164e-05/0.4233, allocations: 15.69 kB / 0.7271 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.4233, allocations: 10 kB / 0.7271 GB, free: 18.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.945e-05/0.4233, allocations: 2.766 kB / 0.7271 GB, free: 18.17 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.4233, allocations: 12.52 kB / 0.7271 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.4233, allocations: 9.406 kB / 0.7271 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.11e-05/0.4234, allocations: 108.3 kB / 0.7272 GB, free: 18.08 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4234, allocations: 0 / 0.7272 GB, free: 18.08 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001959/0.4236, allocations: 53.88 kB / 0.7273 GB, free: 18.07 MB / 0.6355 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.0001032/0.4237, allocations: 101.8 kB / 0.7274 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003297/0.424, allocations: 438.2 kB / 0.7278 GB, free: 17.63 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.424, allocations: 5 kB / 0.7278 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.121e-05/0.4241, allocations: 44.7 kB / 0.7278 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.4243, allocations: 35.89 kB / 0.7279 GB, free: 17.6 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003448/0.4246, allocations: 268 kB / 0.7281 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.956e-05/0.4247, allocations: 94.62 kB / 0.7282 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.4247, allocations: 20.5 kB / 0.7282 GB, free: 17.31 MB / 0.6355 GB Notification: Performance of SimCode: time 5.81e-07/0.4247, allocations: 0 / 0.7282 GB, free: 17.31 MB / 0.6355 GB Notification: Performance of Templates: time 0.005101/0.4298, allocations: 2.283 MB / 0.7304 GB, free: 17.08 MB / 0.6355 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.319277957081795] Failed to read output from testmodel.py, exit status != 0: 0.4361213161610067 0.45074232300000006 0.029224241 Calling exit ...