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.001117/0.001117, allocations: 76.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.001578/0.001578, allocations: 170.2 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.9662/0.9662, allocations: 177.2 MB / 203.6 MB, free: 5.793 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7523/0.7523, allocations: 154.7 MB / 414.7 MB, free: 0.7578 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 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.0009694/0.0009694, allocations: 71.89 kB / 0.6196 GB, free: 13.11 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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.5552/0.5562, allocations: 102 MB / 0.7191 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001761/0.558, allocations: 0.7921 MB / 0.7199 GB, free: 23.15 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001654/0.5596, allocations: 1.304 MB / 0.7212 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.4e-05/0.5597, allocations: 2.219 kB / 0.7212 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 5.034e-05/0.5598, allocations: 13.55 kB / 0.7212 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.225e-05/0.5598, allocations: 25.34 kB / 0.7212 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007479/0.5606, allocations: 324.7 kB / 0.7215 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003085/0.5609, allocations: 291.6 kB / 0.7218 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.561, allocations: 36.84 kB / 0.7218 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.5612, allocations: 162.2 kB / 0.722 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.5614, allocations: 101.1 kB / 0.7221 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.925e-05/0.5615, allocations: 26 kB / 0.7221 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.733e-05/0.5616, allocations: 38.64 kB / 0.7221 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.48e-05/0.5616, allocations: 26.25 kB / 0.7222 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.5617, allocations: 102.2 kB / 0.7223 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003322/0.562, allocations: 264.4 kB / 0.7225 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.562, allocations: 3.938 kB / 0.7225 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.796e-06/0.562, allocations: 1.312 kB / 0.7225 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.5621, allocations: 0 / 0.7225 GB, free: 21.59 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.000544/0.5626, allocations: 464.9 kB / 0.723 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.5626, allocations: 9.656 kB / 0.723 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.457e-05/0.5627, allocations: 18.45 kB / 0.723 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.895e-05/0.5628, allocations: 133.2 kB / 0.7231 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.5628, allocations: 16.66 kB / 0.7231 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.5628, allocations: 24.58 kB / 0.7232 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.563, allocations: 85.02 kB / 0.7232 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.563, allocations: 1.156 kB / 0.7232 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.563, allocations: 5 kB / 0.7232 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.563, allocations: 2.406 kB / 0.7233 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.253e-05/0.5631, allocations: 43.09 kB / 0.7233 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005145/0.5636, allocations: 381.1 kB / 0.7237 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.5638, allocations: 71 kB / 0.7237 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.496e-05/0.5639, allocations: 35.58 kB / 0.7238 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.5639, allocations: 1.094 kB / 0.7238 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002026/0.5641, allocations: 117 kB / 0.7239 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 2.575e-06/0.5641, allocations: 0 / 0.7239 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.000316/0.5644, allocations: 174 kB / 0.724 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.5644, allocations: 54.97 kB / 0.7241 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.783e-05/0.5645, allocations: 154.1 kB / 0.7242 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.5646, allocations: 36.11 kB / 0.7243 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.258e-05/0.5646, allocations: 117.4 kB / 0.7244 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.5646, allocations: 33.66 kB / 0.7244 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.459e-05/0.5647, allocations: 77.66 kB / 0.7245 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.959e-05/0.5648, allocations: 326.5 kB / 0.7248 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.565, allocations: 185.2 kB / 0.725 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.5652, allocations: 235.1 kB / 0.7252 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.5654, allocations: 255 kB / 0.7254 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.5654, allocations: 5.188 kB / 0.7254 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004865/0.5659, allocations: 495.6 kB / 0.7259 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.895e-05/0.5659, allocations: 101.8 kB / 0.726 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.5659, allocations: 2.172 kB / 0.726 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.5659, allocations: 2.812 kB / 0.726 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.924e-05/0.566, allocations: 14.45 kB / 0.726 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.566, allocations: 2.906 kB / 0.726 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003096/0.5663, allocations: 88.16 kB / 0.7261 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/0.5663, allocations: 18.5 kB / 0.7261 GB, free: 18.79 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.511e-05/0.5664, allocations: 137.8 kB / 0.7263 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.676e-05/0.5664, allocations: 18.12 kB / 0.7263 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.99e-05/0.5665, allocations: 15.97 kB / 0.7263 GB, free: 18.63 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.5665, allocations: 7.219 kB / 0.7263 GB, free: 18.63 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.5665, allocations: 3.938 kB / 0.7263 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.5665, allocations: 0.7969 kB / 0.7263 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.5666, allocations: 143.7 kB / 0.7265 GB, free: 18.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.5666, allocations: 0 / 0.7265 GB, free: 18.49 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.44e-05/0.5666, allocations: 13.31 kB / 0.7265 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.5666, allocations: 1.344 kB / 0.7265 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.5667, allocations: 2.469 kB / 0.7265 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.5667, allocations: 1.125 kB / 0.7265 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.5667, allocations: 0.75 kB / 0.7265 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/0.5669, allocations: 170.7 kB / 0.7266 GB, free: 18.38 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.399e-05/0.5669, allocations: 16.7 kB / 0.7266 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.5669, allocations: 1.656 kB / 0.7267 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.451e-05/0.5669, allocations: 6.719 kB / 0.7267 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.567, allocations: 12.98 kB / 0.7267 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.567, allocations: 8.891 kB / 0.7267 GB, free: 18.35 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.469e-05/0.567, allocations: 108.3 kB / 0.7268 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.567, allocations: 0 / 0.7268 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002087/0.5672, allocations: 54.48 kB / 0.7268 GB, free: 18.26 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.0001374/0.5674, allocations: 107.8 kB / 0.7269 GB, free: 18.17 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003958/0.5678, allocations: 434 kB / 0.7274 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5678, allocations: 0 / 0.7274 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.173e-05/0.5678, allocations: 43.05 kB / 0.7274 GB, free: 17.81 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.5681, allocations: 26.53 kB / 0.7274 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004113/0.5685, allocations: 243.7 kB / 0.7276 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.131e-05/0.5685, allocations: 98.39 kB / 0.7277 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.571e-05/0.5686, allocations: 15.31 kB / 0.7278 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.5686, allocations: 15.89 kB / 0.7278 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of SimCode: time 1.482e-06/0.5686, allocations: 0 / 0.7278 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of Templates: time 0.008437/0.5771, allocations: 3.048 MB / 0.7307 GB, free: 17.17 MB / 0.6355 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.521544918068685] Failed to read output from testmodel.py, exit status != 0: 0.5838020209921524 0.595075165 0.03098439 Calling exit ...