Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001899/0.001899, 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.002411/0.002411, allocations: 213.2 kB / 22.25 MB, free: 4.859 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.752/1.752, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.342/1.342, allocations: 203.5 MB / 0.5038 GB, free: 4.918 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.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(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_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.002132/0.002132, allocations: 69.78 kB / 0.7183 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6806/0.6827, allocations: 102 MB / 0.8179 GB, free: 29.12 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch): time 0.00249/0.6852, allocations: 0.7987 MB / 0.8186 GB, free: 28.65 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.002393/0.6876, allocations: 1.311 MB / 0.8199 GB, free: 27.71 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.04e-05/0.6877, allocations: 2.281 kB / 0.8199 GB, free: 27.71 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 5.139e-05/0.6877, allocations: 10.12 kB / 0.8199 GB, free: 27.7 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.6878, allocations: 32.91 kB / 0.82 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008974/0.6887, allocations: 315.2 kB / 0.8203 GB, free: 27.53 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0003974/0.6891, allocations: 295.3 kB / 0.8205 GB, free: 27.4 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.6893, allocations: 27.42 kB / 0.8206 GB, free: 27.39 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002072/0.6895, allocations: 116.3 kB / 0.8207 GB, free: 27.34 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.6897, allocations: 96.97 kB / 0.8208 GB, free: 27.31 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 7.223e-05/0.6898, allocations: 25.91 kB / 0.8208 GB, free: 27.31 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.6899, allocations: 40.23 kB / 0.8208 GB, free: 27.3 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.656e-05/0.6899, allocations: 25.42 kB / 0.8209 GB, free: 27.29 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.6901, allocations: 91.59 kB / 0.8209 GB, free: 27.25 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0004431/0.6905, allocations: 267.7 kB / 0.8212 GB, free: 27.16 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.156e-06/0.6905, allocations: 2.219 kB / 0.8212 GB, free: 27.16 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.946e-06/0.6905, allocations: 0 / 0.8212 GB, free: 27.16 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.798e-05/0.6905, allocations: 0 / 0.8212 GB, free: 27.16 MB / 0.6387 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.0008073/0.6913, allocations: 461.2 kB / 0.8216 GB, free: 26.74 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.6914, allocations: 10.38 kB / 0.8217 GB, free: 26.74 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.751e-05/0.6915, allocations: 18.36 kB / 0.8217 GB, free: 26.74 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.6916, allocations: 134.5 kB / 0.8218 GB, free: 26.59 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.418e-05/0.6916, allocations: 13.95 kB / 0.8218 GB, free: 26.59 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.578e-05/0.6917, allocations: 20.73 kB / 0.8218 GB, free: 26.59 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.6919, allocations: 93.56 kB / 0.8219 GB, free: 26.53 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.692, allocations: 5.484 kB / 0.8219 GB, free: 26.53 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.692, allocations: 2.047 kB / 0.8219 GB, free: 26.53 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.692, allocations: 6.469 kB / 0.8219 GB, free: 26.52 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.6921, allocations: 49.53 kB / 0.822 GB, free: 26.51 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007023/0.6928, allocations: 381.4 kB / 0.8223 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.6931, allocations: 62.62 kB / 0.8224 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.833e-05/0.6931, allocations: 27.88 kB / 0.8224 GB, free: 26.18 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.6931, allocations: 1.812 kB / 0.8224 GB, free: 26.18 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003138/0.6935, allocations: 125.6 kB / 0.8226 GB, free: 26.1 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.6935, allocations: 0 / 0.8226 GB, free: 26.1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14): time 0.0004404/0.6939, allocations: 168.6 kB / 0.8227 GB, free: 26.03 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.6939, allocations: 55.69 kB / 0.8228 GB, free: 25.97 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.6941, allocations: 161.8 kB / 0.8229 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.6e-05/0.6941, allocations: 36.84 kB / 0.823 GB, free: 25.8 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 8.286e-05/0.6942, allocations: 110 kB / 0.8231 GB, free: 25.71 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.6943, allocations: 32.66 kB / 0.8231 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.6944, allocations: 76.84 kB / 0.8232 GB, free: 25.65 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.68e-05/0.6945, allocations: 325.7 kB / 0.8235 GB, free: 25.33 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/0.6948, allocations: 189.6 kB / 0.8237 GB, free: 25.2 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003268/0.6951, allocations: 237.1 kB / 0.8239 GB, free: 25.01 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000319/0.6955, allocations: 262.7 kB / 0.8241 GB, free: 24.8 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.6955, allocations: 0 / 0.8241 GB, free: 24.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007457/0.6962, allocations: 493.1 kB / 0.8246 GB, free: 24.48 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.955e-05/0.6963, allocations: 98 kB / 0.8247 GB, free: 24.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.6963, allocations: 4.219 kB / 0.8247 GB, free: 24.38 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.6963, allocations: 2.844 kB / 0.8247 GB, free: 24.38 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.733e-05/0.6964, allocations: 9.828 kB / 0.8247 GB, free: 24.38 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.6964, allocations: 7.047 kB / 0.8247 GB, free: 24.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000543/0.6969, allocations: 84.2 kB / 0.8248 GB, free: 24.37 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-05/0.697, allocations: 26.56 kB / 0.8248 GB, free: 24.36 MB / 0.6387 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.000158/0.6971, allocations: 133.8 kB / 0.825 GB, free: 24.23 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.6972, allocations: 17.84 kB / 0.825 GB, free: 24.22 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.021e-05/0.6972, allocations: 12.5 kB / 0.825 GB, free: 24.21 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.6972, allocations: 2.375 kB / 0.825 GB, free: 24.21 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.6972, allocations: 4.188 kB / 0.825 GB, free: 24.21 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.6972, allocations: 2.453 kB / 0.825 GB, free: 24.21 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.6974, allocations: 146.1 kB / 0.8251 GB, free: 24.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.6974, allocations: 0 / 0.8251 GB, free: 24.07 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.926e-05/0.6974, allocations: 18.78 kB / 0.8252 GB, free: 24.06 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.6975, allocations: 3.938 kB / 0.8252 GB, free: 24.05 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.6975, allocations: 2.406 kB / 0.8252 GB, free: 24.05 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.6975, allocations: 2.516 kB / 0.8252 GB, free: 24.05 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.6975, allocations: 0 / 0.8252 GB, free: 24.05 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.6977, allocations: 163.4 kB / 0.8253 GB, free: 23.95 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.643e-05/0.6977, allocations: 15.67 kB / 0.8253 GB, free: 23.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.6978, allocations: 10.86 kB / 0.8253 GB, free: 23.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.303e-05/0.6978, allocations: 10.03 kB / 0.8254 GB, free: 23.93 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.53e-05/0.6978, allocations: 16.8 kB / 0.8254 GB, free: 23.92 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.6979, allocations: 5.062 kB / 0.8254 GB, free: 23.92 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 6.838e-05/0.6979, allocations: 108.9 kB / 0.8255 GB, free: 23.84 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6979, allocations: 0 / 0.8255 GB, free: 23.84 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003069/0.6982, allocations: 56.14 kB / 0.8255 GB, free: 23.82 MB / 0.6387 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.0001753/0.6984, allocations: 106.3 kB / 0.8256 GB, free: 23.73 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005708/0.699, allocations: 434.4 kB / 0.826 GB, free: 23.39 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.699, allocations: 0 / 0.826 GB, free: 23.39 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 9.629e-05/0.6991, allocations: 50.47 kB / 0.8261 GB, free: 23.37 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.6994, allocations: 28.95 kB / 0.8261 GB, free: 23.36 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005111/0.6999, allocations: 238.7 kB / 0.8263 GB, free: 23.18 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.572e-05/0.7, allocations: 102.2 kB / 0.8264 GB, free: 23.11 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.267e-05/0.7, allocations: 11.38 kB / 0.8265 GB, free: 23.11 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.517e-05/0.7, allocations: 14.73 kB / 0.8265 GB, free: 23.1 MB / 0.6387 GB Notification: Performance of SimCode: time 2.9e-07/0.7, allocations: 0 / 0.8265 GB, free: 23.1 MB / 0.6387 GB Notification: Performance of Templates: time 0.009304/0.7094, allocations: 3.119 MB / 0.8295 GB, free: 22.73 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.345075724646449] Failed to read output from testmodel.py, exit status != 0: 0.7186500038951635 0.732529003 0.039016010000000004 Calling exit ...