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.001171/0.001171, allocations: 80.44 kB / 19.91 MB, free: 0 / 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.001205/0.001205, allocations: 173.2 kB / 23.2 MB, free: 1.367 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.9572/0.9572, allocations: 177.2 MB / 203.6 MB, free: 5.762 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.7273/0.7273, allocations: 154.7 MB / 414.7 MB, free: 0.7617 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.0009652/0.0009652, allocations: 86.22 kB / 0.6196 GB, free: 13.13 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.5176/0.5186, allocations: 101.9 MB / 0.7191 GB, free: 23.68 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001598/0.5202, allocations: 0.7851 MB / 0.7199 GB, free: 23.19 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.5216, allocations: 1.318 MB / 0.7212 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.465e-05/0.5216, allocations: 1.125 kB / 0.7212 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 4.003e-05/0.5217, allocations: 9.984 kB / 0.7212 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.12e-05/0.5218, allocations: 26.23 kB / 0.7212 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000714/0.5225, allocations: 331.1 kB / 0.7215 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003211/0.5228, allocations: 292.4 kB / 0.7218 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.5229, allocations: 33.28 kB / 0.7218 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.5231, allocations: 166.7 kB / 0.722 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.5233, allocations: 94.97 kB / 0.7221 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.265e-05/0.5233, allocations: 30.97 kB / 0.7221 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.705e-05/0.5234, allocations: 34.53 kB / 0.7222 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.133e-05/0.5235, allocations: 26.45 kB / 0.7222 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.955e-05/0.5236, allocations: 94.55 kB / 0.7223 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003953/0.524, allocations: 323.4 kB / 0.7226 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.524, allocations: 4 kB / 0.7226 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.515e-06/0.524, allocations: 5.062 kB / 0.7226 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.524, allocations: 0 / 0.7226 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.0005345/0.5245, allocations: 464.8 kB / 0.723 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.5245, allocations: 8.344 kB / 0.723 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.946e-05/0.5246, allocations: 19.52 kB / 0.7231 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.73e-05/0.5247, allocations: 127.6 kB / 0.7232 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.599e-05/0.5247, allocations: 16.73 kB / 0.7232 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.766e-05/0.5248, allocations: 21.42 kB / 0.7232 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.5249, allocations: 92.47 kB / 0.7233 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.5249, allocations: 0 / 0.7233 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.5249, allocations: 9.094 kB / 0.7233 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.525, allocations: 3.453 kB / 0.7233 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.922e-05/0.525, allocations: 42.56 kB / 0.7234 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005178/0.5255, allocations: 377.2 kB / 0.7237 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.5258, allocations: 71.58 kB / 0.7238 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.546e-05/0.5258, allocations: 30.66 kB / 0.7238 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.5258, allocations: 1.25 kB / 0.7238 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001965/0.526, allocations: 122 kB / 0.7239 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.526, allocations: 4 kB / 0.7239 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0003062/0.5263, allocations: 169 kB / 0.7241 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.164e-05/0.5263, allocations: 54.78 kB / 0.7242 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.565e-05/0.5264, allocations: 155.6 kB / 0.7243 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.5265, allocations: 36.39 kB / 0.7243 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.582e-05/0.5265, allocations: 109.3 kB / 0.7244 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.5265, allocations: 30.97 kB / 0.7245 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.5267, allocations: 81.16 kB / 0.7245 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.487e-05/0.5267, allocations: 321.1 kB / 0.7249 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.5269, allocations: 189.9 kB / 0.725 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002348/0.5272, allocations: 240.4 kB / 0.7253 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.5274, allocations: 249.8 kB / 0.7255 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.5274, allocations: 0 / 0.7255 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000593/0.528, allocations: 497.9 kB / 0.726 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.999e-05/0.5281, allocations: 105.6 kB / 0.7261 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.5281, allocations: 1.719 kB / 0.7261 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.703e-05/0.5281, allocations: 3.25 kB / 0.7261 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.755e-05/0.5282, allocations: 10.05 kB / 0.7261 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.177e-05/0.5282, allocations: 7.969 kB / 0.7261 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003659/0.5286, allocations: 86.77 kB / 0.7262 GB, free: 18.78 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-05/0.5286, allocations: 22.89 kB / 0.7262 GB, free: 18.78 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 0.0001062/0.5287, allocations: 129.7 kB / 0.7263 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.5288, allocations: 18.67 kB / 0.7263 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.826e-05/0.5288, allocations: 16.09 kB / 0.7264 GB, free: 18.63 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.5288, allocations: 4.969 kB / 0.7264 GB, free: 18.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.5288, allocations: 0 / 0.7264 GB, free: 18.63 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.437e-05/0.5288, allocations: 9.359 kB / 0.7264 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.5288, allocations: 2.375 kB / 0.7264 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.289e-05/0.5289, allocations: 9.938 kB / 0.7264 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.103e-05/0.5289, allocations: 9.406 kB / 0.7264 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000201/0.5291, allocations: 208.5 kB / 0.7266 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002178/0.5293, allocations: 306.4 kB / 0.7269 GB, free: 18.23 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.934e-05/0.5294, allocations: 35.27 kB / 0.7269 GB, free: 18.22 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.698e-05/0.5295, allocations: 105.8 kB / 0.727 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of Backend: time 6.81e-07/0.5295, allocations: 0 / 0.727 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007972/0.5303, allocations: 489.5 kB / 0.7275 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0008627/0.5311, allocations: 0.6749 MB / 0.7281 GB, free: 17.09 MB / 0.6355 GB Notification: Performance of Templates: time 0.006651/0.5378, allocations: 3.246 MB / 0.7313 GB, free: 16.71 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 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.454018408898264] Failed to read output from testmodel.py, exit status != 0: 0.5449898520018905 0.559242179 0.032516771 Calling exit ...