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.0009568/0.0009568, allocations: 92.2 kB / 20.19 MB, free: 4.352 MB / 18.57 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.001226/0.001226, allocations: 173 kB / 23.5 MB, free: 1.047 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 1.04/1.04, allocations: 177.1 MB / 203.8 MB, free: 5.633 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-545:108: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-545:116: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.8224/0.8224, allocations: 154.6 MB / 414.9 MB, free: 0.6484 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: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.5203 GB, free: 2.496 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.323e-05/2.506e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.492 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001449/0.001474, allocations: 0.8101 MB / 0.5211 GB, free: 1.703 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.002754, allocations: 1.341 MB / 0.5224 GB, free: 360 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.991e-05/0.002804, allocations: 0 / 0.5224 GB, free: 360 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.851e-05/0.002833, allocations: 11.86 kB / 0.5225 GB, free: 348 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.575e-05/0.002899, allocations: 20.58 kB / 0.5225 GB, free: 328 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005291/0.003428, allocations: 319 kB / 0.5228 GB, free: 12 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002553/0.003683, allocations: 291.5 kB / 0.5231 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.048e-05/0.003773, allocations: 33.59 kB / 0.5231 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.003919, allocations: 167.7 kB / 0.5232 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.004032, allocations: 80.8 kB / 0.5233 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.377e-05/0.004066, allocations: 28 kB / 0.5234 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.858e-05/0.004125, allocations: 39.98 kB / 0.5234 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.469e-05/0.004149, allocations: 25.28 kB / 0.5234 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.548e-05/0.004225, allocations: 83.86 kB / 0.5235 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.004426, allocations: 219.4 kB / 0.5237 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.00443, allocations: 8.719 kB / 0.5237 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.11e-07/0.004431, allocations: 0 / 0.5237 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.004436, allocations: 4.797 kB / 0.5237 GB, free: 15.05 MB / 0.4948 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.000404/0.00484, allocations: 0.5441 MB / 0.5242 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.905e-05/0.004869, allocations: 13.03 kB / 0.5243 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.48e-05/0.004924, allocations: 24.84 kB / 0.5243 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.797e-05/0.004992, allocations: 134.3 kB / 0.5244 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.005009, allocations: 13.16 kB / 0.5244 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.005036, allocations: 20.38 kB / 0.5244 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.426e-05/0.00513, allocations: 89.84 kB / 0.5245 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.599e-06/0.005134, allocations: 7.922 kB / 0.5245 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.005143, allocations: 8.906 kB / 0.5245 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-06/0.005146, allocations: 0 / 0.5245 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.742e-05/0.005194, allocations: 32.48 kB / 0.5246 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004296/0.005623, allocations: 439.9 kB / 0.525 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.005783, allocations: 59.67 kB / 0.5251 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.356e-05/0.005817, allocations: 19.8 kB / 0.5251 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.005826, allocations: 4.781 kB / 0.5251 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001223/0.005948, allocations: 117.9 kB / 0.5252 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 1.233e-06/0.005949, allocations: 0 / 0.5252 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.0002516/0.006201, allocations: 155.4 kB / 0.5253 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.006233, allocations: 53.16 kB / 0.5254 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.006336, allocations: 206.8 kB / 0.5256 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.006363, allocations: 33.7 kB / 0.5256 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.058e-05/0.006433, allocations: 159.2 kB / 0.5258 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.006457, allocations: 35.73 kB / 0.5258 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.855e-05/0.006545, allocations: 81.08 kB / 0.5259 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.006664, allocations: 0.4923 MB / 0.5264 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.006823, allocations: 165 kB / 0.5265 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.006993, allocations: 248.3 kB / 0.5268 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.007182, allocations: 256.9 kB / 0.527 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.007184, allocations: 1.281 kB / 0.527 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004383/0.007622, allocations: 487.4 kB / 0.5275 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.389e-05/0.007676, allocations: 101 kB / 0.5276 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.007681, allocations: 0 / 0.5276 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.007697, allocations: 4 kB / 0.5276 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.95e-05/0.007736, allocations: 15.92 kB / 0.5276 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.007743, allocations: 5.031 kB / 0.5276 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.007944, allocations: 61.05 kB / 0.5276 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.865e-05/0.007972, allocations: 27.14 kB / 0.5277 GB, free: 10.64 MB / 0.4948 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.0001032/0.008075, allocations: 172.5 kB / 0.5278 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/0.008092, allocations: 15.95 kB / 0.5278 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.319e-05/0.008125, allocations: 20.7 kB / 0.5279 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.008127, allocations: 3.938 kB / 0.5279 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.008132, allocations: 0 / 0.5279 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.008136, allocations: 0 / 0.5279 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.008244, allocations: 163.6 kB / 0.528 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.008246, allocations: 3.984 kB / 0.528 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.386e-05/0.00827, allocations: 8 kB / 0.528 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.008272, allocations: 0 / 0.528 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.008281, allocations: 0 / 0.528 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.008283, allocations: 3.938 kB / 0.528 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.008284, allocations: 4 kB / 0.528 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.00844, allocations: 167.4 kB / 0.5282 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.155e-05/0.008451, allocations: 17.39 kB / 0.5282 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.008465, allocations: 0 / 0.5282 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.955e-05/0.008484, allocations: 11.94 kB / 0.5282 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.008522, allocations: 7.984 kB / 0.5282 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.465e-06/0.008531, allocations: 12.64 kB / 0.5283 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.304e-05/0.008584, allocations: 149.7 kB / 0.5284 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.008584, allocations: 0.625 kB / 0.5284 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001842/0.008768, allocations: 51.94 kB / 0.5284 GB, free: 9.781 MB / 0.4948 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.0001345/0.008902, allocations: 106.6 kB / 0.5286 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003517/0.009254, allocations: 425.4 kB / 0.529 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.009256, allocations: 0 / 0.529 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.987e-05/0.009316, allocations: 47.67 kB / 0.529 GB, free: 9.148 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.009511, allocations: 38.33 kB / 0.529 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003624/0.009874, allocations: 242.8 kB / 0.5293 GB, free: 8.848 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.933e-05/0.009913, allocations: 67.34 kB / 0.5293 GB, free: 8.762 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.993e-05/0.009943, allocations: 10.42 kB / 0.5293 GB, free: 8.75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.706e-05/0.00997, allocations: 20.48 kB / 0.5294 GB, free: 8.727 MB / 0.4948 GB Notification: Performance of SimCode: time 1.062e-06/0.009971, allocations: 0 / 0.5294 GB, free: 8.727 MB / 0.4948 GB Notification: Performance of Templates: time 0.004659/0.01463, allocations: 3.008 MB / 0.5323 GB, free: 5.891 MB / 0.4948 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8740760488435626]