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.0008188/0.0008188, allocations: 80.45 kB / 19.9 MB, free: 12 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.0008965/0.0008965, 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.9036/0.9036, allocations: 177.2 MB / 203.6 MB, free: 5.758 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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.7194/0.7194, allocations: 154.9 MB / 414.9 MB, free: 0.5 MB / 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.000973/0.000973, allocations: 76.94 kB / 0.6199 GB, free: 12.62 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.4907/0.4916, allocations: 102 MB / 0.7195 GB, free: 23.56 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001429/0.4931, allocations: 0.7892 MB / 0.7202 GB, free: 23.07 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.4942, allocations: 1.313 MB / 0.7215 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.677e-05/0.4942, allocations: 2.25 kB / 0.7215 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.414e-05/0.4943, allocations: 9.844 kB / 0.7215 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.288e-05/0.4944, allocations: 25.5 kB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005907/0.4949, allocations: 329.6 kB / 0.7219 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002528/0.4952, allocations: 292.1 kB / 0.7221 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.4953, allocations: 29.89 kB / 0.7222 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.4955, allocations: 170.1 kB / 0.7223 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.4956, allocations: 100 kB / 0.7224 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.149e-05/0.4957, allocations: 30.03 kB / 0.7224 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.106e-05/0.4957, allocations: 38.22 kB / 0.7225 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.846e-05/0.4958, allocations: 23 kB / 0.7225 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.405e-05/0.4959, allocations: 94.58 kB / 0.7226 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.4961, allocations: 264 kB / 0.7228 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4961, allocations: 5.094 kB / 0.7229 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4961, allocations: 0 / 0.7229 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.4961, allocations: 0 / 0.7229 GB, free: 21.51 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.000466/0.4966, allocations: 468.7 kB / 0.7233 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.4966, allocations: 15.81 kB / 0.7233 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.458e-05/0.4967, allocations: 18.94 kB / 0.7233 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.55e-05/0.4968, allocations: 130.5 kB / 0.7235 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.4968, allocations: 17.59 kB / 0.7235 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.259e-05/0.4968, allocations: 17.05 kB / 0.7235 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.497, allocations: 88.98 kB / 0.7236 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.497, allocations: 0 / 0.7236 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.497, allocations: 1.938 kB / 0.7236 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.497, allocations: 6.219 kB / 0.7236 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.954e-05/0.4971, allocations: 47.8 kB / 0.7236 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004683/0.4975, allocations: 381 kB / 0.724 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.4977, allocations: 66.55 kB / 0.7241 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.25e-05/0.4978, allocations: 30.91 kB / 0.7241 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.988e-06/0.4978, allocations: 5.172 kB / 0.7241 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001761/0.498, allocations: 125.6 kB / 0.7242 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.498, allocations: 0 / 0.7242 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0002835/0.4983, allocations: 165.8 kB / 0.7244 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.4983, allocations: 59.14 kB / 0.7244 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.674e-05/0.4984, allocations: 155.3 kB / 0.7246 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.4984, allocations: 35.83 kB / 0.7246 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.787e-05/0.4984, allocations: 113.3 kB / 0.7247 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.4985, allocations: 38.8 kB / 0.7248 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.158e-05/0.4986, allocations: 77.06 kB / 0.7248 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.443e-05/0.4986, allocations: 321.8 kB / 0.7251 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.4988, allocations: 188.8 kB / 0.7253 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.4989, allocations: 237 kB / 0.7255 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.4992, allocations: 250.6 kB / 0.7258 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.4992, allocations: 1.609 kB / 0.7258 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004701/0.4996, allocations: 494 kB / 0.7262 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.081e-05/0.4997, allocations: 98.55 kB / 0.7263 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.4997, allocations: 2.625 kB / 0.7263 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.4997, allocations: 2.984 kB / 0.7263 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.091e-05/0.4998, allocations: 13.41 kB / 0.7264 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.4998, allocations: 3.375 kB / 0.7264 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/0.5001, allocations: 84.97 kB / 0.7264 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/0.5001, allocations: 22.84 kB / 0.7265 GB, free: 18.7 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 8.402e-05/0.5002, allocations: 137 kB / 0.7266 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.455e-05/0.5002, allocations: 17.31 kB / 0.7266 GB, free: 18.56 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.805e-05/0.5002, allocations: 23.78 kB / 0.7266 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.5002, allocations: 2.125 kB / 0.7266 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.5002, allocations: 0 / 0.7266 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.5002, allocations: 2.734 kB / 0.7266 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001/0.5003, allocations: 146.1 kB / 0.7268 GB, free: 18.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.5003, allocations: 1.641 kB / 0.7268 GB, free: 18.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.961e-05/0.5004, allocations: 15.47 kB / 0.7268 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.5004, allocations: 1.953 kB / 0.7268 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.5004, allocations: 2.281 kB / 0.7268 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.5004, allocations: 1.062 kB / 0.7268 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.5004, allocations: 4.641 kB / 0.7268 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.5006, allocations: 167.8 kB / 0.727 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.468e-05/0.5006, allocations: 14.95 kB / 0.727 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.5006, allocations: 3.531 kB / 0.727 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.274e-05/0.5006, allocations: 1.266 kB / 0.727 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.5007, allocations: 17.69 kB / 0.727 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.5007, allocations: 8.719 kB / 0.727 GB, free: 18.26 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.405e-05/0.5007, allocations: 108.4 kB / 0.7271 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5007, allocations: 0 / 0.7271 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001977/0.5009, allocations: 53.38 kB / 0.7272 GB, free: 18.17 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.0001369/0.5011, allocations: 111.6 kB / 0.7273 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003607/0.5014, allocations: 429.3 kB / 0.7277 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5014, allocations: 1.188 kB / 0.7277 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.89e-05/0.5015, allocations: 50.92 kB / 0.7277 GB, free: 17.71 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.5017, allocations: 27.94 kB / 0.7278 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003436/0.502, allocations: 241.6 kB / 0.728 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.666e-05/0.5021, allocations: 93.73 kB / 0.7281 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.066e-05/0.5021, allocations: 11.14 kB / 0.7281 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.296e-05/0.5021, allocations: 16.33 kB / 0.7281 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of SimCode: time 2.81e-07/0.5021, allocations: 0 / 0.7281 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of Templates: time 0.005677/0.5078, allocations: 3.064 MB / 0.7311 GB, free: 17.07 MB / 0.6355 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.214482252020389] Failed to read output from testmodel.py, exit status != 0: 0.5141115300357342 0.5240773999999999 0.026076623 Calling exit ...