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.001265/0.001265, allocations: 82.33 kB / 19.16 MB, free: 2.535 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.001371/0.001371, allocations: 171.3 kB / 22.44 MB, free: 5.34 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.522/1.522, allocations: 177.2 MB / 202.8 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] 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 1.322/1.322, allocations: 155 MB / 414.2 MB, free: 4.965 MB / 382.1 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 178] 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.002021/0.002021, allocations: 69.47 kB / 0.6191 GB, free: 4.133 MB / 0.5294 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.5966/0.5986, allocations: 102 MB / 0.7187 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch): time 0.002377/0.601, allocations: 0.7949 MB / 0.7195 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002004/0.603, allocations: 1.313 MB / 0.7208 GB, free: 304 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.954e-05/0.6031, allocations: 1.125 kB / 0.7208 GB, free: 304 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.678e-05/0.6031, allocations: 9.234 kB / 0.7208 GB, free: 296 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.6033, allocations: 26.11 kB / 0.7208 GB, free: 276 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.6044, allocations: 328.1 kB / 0.7212 GB, free: 112 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004966/0.6049, allocations: 298.8 kB / 0.7214 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.605, allocations: 25.75 kB / 0.7215 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003835/0.6054, allocations: 166.4 kB / 0.7216 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.6057, allocations: 99.47 kB / 0.7217 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.089e-05/0.6058, allocations: 26.72 kB / 0.7217 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.6059, allocations: 34.55 kB / 0.7218 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 4.448e-05/0.6059, allocations: 26.83 kB / 0.7218 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001903/0.6061, allocations: 94.55 kB / 0.7219 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0005815/0.6067, allocations: 318.3 kB / 0.7222 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.6067, allocations: 9.375 kB / 0.7222 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6067, allocations: 0 / 0.7222 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.6067, allocations: 1.266 kB / 0.7222 GB, free: 15.66 MB / 0.6231 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.001062/0.6078, allocations: 464.7 kB / 0.7226 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.6078, allocations: 10.19 kB / 0.7227 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.6079, allocations: 22.12 kB / 0.7227 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.6081, allocations: 135.3 kB / 0.7228 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.596e-05/0.6082, allocations: 13.73 kB / 0.7228 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.403e-05/0.6082, allocations: 20.08 kB / 0.7228 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.6085, allocations: 92.2 kB / 0.7229 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.6085, allocations: 0 / 0.7229 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.6085, allocations: 5.922 kB / 0.7229 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.6085, allocations: 2.625 kB / 0.7229 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.6086, allocations: 47.69 kB / 0.723 GB, free: 15 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008677/0.6095, allocations: 377.2 kB / 0.7233 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/0.6098, allocations: 63.45 kB / 0.7234 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.447e-05/0.6099, allocations: 30.12 kB / 0.7234 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.6099, allocations: 2.188 kB / 0.7234 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003275/0.6102, allocations: 126.3 kB / 0.7236 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=14): time 2.154e-06/0.6102, allocations: 4 kB / 0.7236 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of matching and sorting (n=14): time 0.000504/0.6108, allocations: 165.4 kB / 0.7237 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.106e-05/0.6108, allocations: 59.25 kB / 0.7238 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.6111, allocations: 156.3 kB / 0.7239 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.195e-05/0.6111, allocations: 36.53 kB / 0.724 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.6113, allocations: 112.9 kB / 0.7241 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.612e-05/0.6113, allocations: 34.48 kB / 0.7241 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002636/0.6116, allocations: 76.52 kB / 0.7242 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.6117, allocations: 323 kB / 0.7245 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003683/0.6121, allocations: 184.4 kB / 0.7247 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004725/0.6126, allocations: 236.6 kB / 0.7249 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005413/0.6131, allocations: 261.3 kB / 0.7251 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.6131, allocations: 0.5625 kB / 0.7251 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001031/0.6142, allocations: 492.8 kB / 0.7256 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.6143, allocations: 102.6 kB / 0.7257 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.6143, allocations: 5.141 kB / 0.7257 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.6143, allocations: 1.938 kB / 0.7257 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.009e-05/0.6144, allocations: 14.84 kB / 0.7257 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.6144, allocations: 7.391 kB / 0.7257 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005927/0.615, allocations: 83.58 kB / 0.7258 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.604e-05/0.615, allocations: 22.02 kB / 0.7258 GB, free: 12.84 MB / 0.6231 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.0001573/0.6152, allocations: 130.4 kB / 0.7259 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.6152, allocations: 18.83 kB / 0.726 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.942e-05/0.6153, allocations: 20.64 kB / 0.726 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.6153, allocations: 1.5 kB / 0.726 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.6153, allocations: 0 / 0.726 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.6153, allocations: 0.75 kB / 0.726 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.6155, allocations: 147.6 kB / 0.7261 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.6155, allocations: 4 kB / 0.7261 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.047e-05/0.6155, allocations: 18.59 kB / 0.7261 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.6155, allocations: 0 / 0.7261 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.6156, allocations: 3.078 kB / 0.7262 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.6156, allocations: 0.6094 kB / 0.7262 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6156, allocations: 5.531 kB / 0.7262 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000285/0.6159, allocations: 161.6 kB / 0.7263 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 2.725e-05/0.6159, allocations: 21.06 kB / 0.7263 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.6159, allocations: 0.75 kB / 0.7263 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.874e-05/0.6159, allocations: 2.031 kB / 0.7263 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.616, allocations: 17.92 kB / 0.7264 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.616, allocations: 8.891 kB / 0.7264 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 9.3e-05/0.6161, allocations: 109.9 kB / 0.7265 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6161, allocations: 0 / 0.7265 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003204/0.6164, allocations: 52.66 kB / 0.7265 GB, free: 12.32 MB / 0.6231 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.0001976/0.6166, allocations: 105.5 kB / 0.7266 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006902/0.6173, allocations: 434 kB / 0.727 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6173, allocations: 384 / 0.727 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.6174, allocations: 47.34 kB / 0.7271 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.6177, allocations: 33.28 kB / 0.7271 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006074/0.6183, allocations: 243.1 kB / 0.7273 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.6185, allocations: 102.6 kB / 0.7274 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 4.578e-05/0.6185, allocations: 9.734 kB / 0.7274 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.458e-05/0.6186, allocations: 17.08 kB / 0.7275 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of SimCode: time 5.71e-07/0.6186, allocations: 0 / 0.7275 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of Templates: time 0.008267/0.6268, allocations: 3.054 MB / 0.7304 GB, free: 11.21 MB / 0.6231 GB " [Timeout remaining time 659] 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: 6.474786767736077] Failed to read output from testmodel.py, exit status != 0: 0.6354073956608772 0.658102576 0.046515767 Calling exit ...