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.00128/0.00128, 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.001542/0.001542, 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.9614/0.9614, allocations: 177.2 MB / 203.6 MB, free: 5.773 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.7372/0.7372, allocations: 154.7 MB / 414.7 MB, free: 0.7734 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.001016/0.001016, allocations: 73.17 kB / 0.6196 GB, free: 13.14 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.5542/0.5552, allocations: 101.9 MB / 0.7191 GB, free: 23.63 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001751/0.557, allocations: 0.7961 MB / 0.7199 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.5584, allocations: 1.31 MB / 0.7212 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.445e-05/0.5585, allocations: 1.188 kB / 0.7212 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 4.341e-05/0.5586, allocations: 10.78 kB / 0.7212 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.778e-05/0.5587, allocations: 21.8 kB / 0.7212 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000752/0.5594, allocations: 330.1 kB / 0.7215 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003809/0.5598, allocations: 299.6 kB / 0.7218 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.5599, allocations: 27.98 kB / 0.7218 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002225/0.5602, allocations: 166.7 kB / 0.722 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.5604, allocations: 92.92 kB / 0.7221 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.049e-05/0.5604, allocations: 26 kB / 0.7221 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.5605, allocations: 43.69 kB / 0.7221 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.956e-05/0.5606, allocations: 25.55 kB / 0.7222 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.5607, allocations: 99.41 kB / 0.7223 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003881/0.5611, allocations: 263.2 kB / 0.7225 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.5611, allocations: 0 / 0.7225 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5611, allocations: 5.031 kB / 0.7225 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.397e-06/0.5611, allocations: 0 / 0.7225 GB, free: 21.58 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.0005934/0.5617, allocations: 464.5 kB / 0.723 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.5617, allocations: 10.08 kB / 0.723 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.002e-05/0.5618, allocations: 19.14 kB / 0.723 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.946e-05/0.5619, allocations: 131.6 kB / 0.7231 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.01e-05/0.5619, allocations: 17.72 kB / 0.7231 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.112e-05/0.562, allocations: 21.05 kB / 0.7232 GB, free: 21 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.5621, allocations: 86.45 kB / 0.7232 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.5621, allocations: 0 / 0.7232 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.5621, allocations: 6.031 kB / 0.7232 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.5621, allocations: 6.156 kB / 0.7232 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.49e-05/0.5622, allocations: 51.88 kB / 0.7233 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005439/0.5628, allocations: 372.7 kB / 0.7236 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.563, allocations: 66.92 kB / 0.7237 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.305e-05/0.563, allocations: 31.72 kB / 0.7237 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.5631, allocations: 1.094 kB / 0.7237 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002145/0.5633, allocations: 117.5 kB / 0.7239 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.5633, allocations: 0 / 0.7239 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0003209/0.5636, allocations: 177 kB / 0.724 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.5636, allocations: 56.12 kB / 0.7241 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.305e-05/0.5637, allocations: 161.8 kB / 0.7242 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.5637, allocations: 32.36 kB / 0.7243 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.007e-05/0.5638, allocations: 109.6 kB / 0.7244 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.5638, allocations: 38.3 kB / 0.7244 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.5639, allocations: 76.03 kB / 0.7245 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.133e-05/0.564, allocations: 323.2 kB / 0.7248 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.5641, allocations: 184.8 kB / 0.725 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.5643, allocations: 238.8 kB / 0.7252 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.5645, allocations: 254.2 kB / 0.7254 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.5646, allocations: 5.219 kB / 0.7254 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004819/0.565, allocations: 493.7 kB / 0.7259 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.319e-05/0.5651, allocations: 101.6 kB / 0.726 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.5651, allocations: 5.969 kB / 0.726 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.5651, allocations: 6.062 kB / 0.726 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.102e-05/0.5652, allocations: 12.12 kB / 0.726 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.5652, allocations: 1.188 kB / 0.726 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/0.5655, allocations: 84.56 kB / 0.7261 GB, free: 18.78 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/0.5655, allocations: 22.72 kB / 0.7261 GB, free: 18.77 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.071e-05/0.5656, allocations: 141 kB / 0.7263 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.493e-05/0.5656, allocations: 19.23 kB / 0.7263 GB, free: 18.63 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.709e-05/0.5656, allocations: 10.48 kB / 0.7263 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.5656, allocations: 2.766 kB / 0.7263 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.5656, allocations: 0 / 0.7263 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.5656, allocations: 0.6562 kB / 0.7263 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.5657, allocations: 147.7 kB / 0.7264 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.5657, allocations: 1.375 kB / 0.7264 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.01e-05/0.5658, allocations: 16.67 kB / 0.7265 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.5658, allocations: 0.7031 kB / 0.7265 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.5658, allocations: 7.234 kB / 0.7265 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.5658, allocations: 0.7969 kB / 0.7265 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5658, allocations: 1.125 kB / 0.7265 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.566, allocations: 166.3 kB / 0.7266 GB, free: 18.37 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.333e-05/0.566, allocations: 23.25 kB / 0.7266 GB, free: 18.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.566, allocations: 6.594 kB / 0.7267 GB, free: 18.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.033e-05/0.566, allocations: 2.453 kB / 0.7267 GB, free: 18.34 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.5661, allocations: 12.98 kB / 0.7267 GB, free: 18.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.5661, allocations: 4.672 kB / 0.7267 GB, free: 18.34 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.556e-05/0.5661, allocations: 113.2 kB / 0.7268 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5661, allocations: 0 / 0.7268 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002077/0.5663, allocations: 53.11 kB / 0.7268 GB, free: 18.25 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.0001317/0.5665, allocations: 108.1 kB / 0.7269 GB, free: 18.15 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004335/0.5669, allocations: 430.9 kB / 0.7273 GB, free: 17.81 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5669, allocations: 0 / 0.7273 GB, free: 17.81 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.414e-05/0.567, allocations: 43.8 kB / 0.7274 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.5672, allocations: 32.28 kB / 0.7274 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004621/0.5677, allocations: 241.4 kB / 0.7276 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.085e-05/0.5678, allocations: 92.84 kB / 0.7277 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.685e-05/0.5678, allocations: 14.72 kB / 0.7277 GB, free: 17.53 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.518e-05/0.5678, allocations: 19.28 kB / 0.7278 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of SimCode: time 5.92e-07/0.5678, allocations: 1.031 kB / 0.7278 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of Templates: time 0.005881/0.5737, allocations: 3.042 MB / 0.7307 GB, free: 17.16 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 gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.499115996062756] Failed to read output from testmodel.py, exit status != 0: 0.5805053981021047 0.590176686 0.027083446 Calling exit ...