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.001858/0.001858, allocations: 85.48 kB / 19.44 MB, free: 344 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.001988/0.001988, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.608/1.608, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 1.326/1.326, allocations: 154.6 MB / 414.1 MB, free: 0.6523 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 178] 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 3.357e-06/3.357e-06, allocations: 0 / 0.5196 GB, free: 2.398 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.569e-05/3.904e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.395 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch): time 0.003018/0.003057, allocations: 0.799 MB / 0.5204 GB, free: 1.613 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002972/0.006029, allocations: 1.312 MB / 0.5217 GB, free: 296 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.852e-05/0.006118, allocations: 4.969 kB / 0.5217 GB, free: 292 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.099e-05/0.006169, allocations: 7.875 kB / 0.5217 GB, free: 284 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001477/0.006316, allocations: 32.56 kB / 0.5217 GB, free: 252 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.007533, allocations: 306 kB / 0.522 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005686/0.008101, allocations: 291.5 kB / 0.5223 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.008264, allocations: 37.48 kB / 0.5224 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003418/0.008606, allocations: 164.3 kB / 0.5225 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002756/0.008882, allocations: 88.83 kB / 0.5226 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 9.185e-05/0.008973, allocations: 28 kB / 0.5226 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.009113, allocations: 35.98 kB / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.314e-05/0.009166, allocations: 25.12 kB / 0.5227 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001947/0.00936, allocations: 91.8 kB / 0.5228 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006319/0.009992, allocations: 303.2 kB / 0.5231 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.009996, allocations: 4.625 kB / 0.5231 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.503e-06/0.009998, allocations: 0 / 0.5231 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.01, allocations: 1.625 kB / 0.5231 GB, free: 14.9 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.001098/0.0111, allocations: 0.5477 MB / 0.5236 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.01115, allocations: 8.031 kB / 0.5236 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.01129, allocations: 32.83 kB / 0.5236 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.0115, allocations: 139 kB / 0.5238 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.715e-05/0.01156, allocations: 16.36 kB / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.814e-05/0.01163, allocations: 20.38 kB / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002811/0.01192, allocations: 88.64 kB / 0.5239 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.01193, allocations: 0 / 0.5239 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.01195, allocations: 9.203 kB / 0.5239 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.01195, allocations: 0 / 0.5239 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001876/0.01214, allocations: 55.91 kB / 0.5239 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.01326, allocations: 448 kB / 0.5244 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003943/0.01365, allocations: 79.72 kB / 0.5245 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.01376, allocations: 27.73 kB / 0.5245 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.01379, allocations: 5 kB / 0.5245 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003254/0.01411, allocations: 127.7 kB / 0.5246 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 1.773e-06/0.01411, allocations: 0.625 kB / 0.5246 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.0006497/0.01476, allocations: 181.7 kB / 0.5248 GB, free: 13 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.362e-05/0.01484, allocations: 56.16 kB / 0.5248 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003155/0.01515, allocations: 223.7 kB / 0.525 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.424e-05/0.01524, allocations: 40.89 kB / 0.5251 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.01543, allocations: 159.2 kB / 0.5252 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.199e-05/0.01549, allocations: 27.81 kB / 0.5253 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002695/0.01576, allocations: 91.31 kB / 0.5254 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006845/0.01644, allocations: 0.5001 MB / 0.5258 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005126/0.01695, allocations: 205 kB / 0.526 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006332/0.01759, allocations: 294.8 kB / 0.5263 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006267/0.01821, allocations: 285.2 kB / 0.5266 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.01822, allocations: 0 / 0.5266 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001432/0.01965, allocations: 0.5384 MB / 0.5271 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001433/0.01979, allocations: 105 kB / 0.5272 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.0198, allocations: 4.969 kB / 0.5272 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.62e-05/0.01983, allocations: 4 kB / 0.5272 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.657e-05/0.01993, allocations: 9.75 kB / 0.5272 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.01994, allocations: 3.938 kB / 0.5272 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006194/0.02056, allocations: 69.33 kB / 0.5273 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.566e-05/0.02063, allocations: 23.97 kB / 0.5273 GB, free: 10.17 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.0002684/0.0209, allocations: 183.2 kB / 0.5275 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.239e-05/0.02095, allocations: 15.95 kB / 0.5275 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.535e-05/0.02101, allocations: 16.72 kB / 0.5275 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.02101, allocations: 0 / 0.5275 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.02102, allocations: 4 kB / 0.5275 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.02103, allocations: 3.984 kB / 0.5275 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/0.02133, allocations: 164.5 kB / 0.5277 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.02134, allocations: 6.156 kB / 0.5277 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.607e-05/0.02141, allocations: 15.92 kB / 0.5277 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.02141, allocations: 0 / 0.5277 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.02144, allocations: 4 kB / 0.5277 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.02144, allocations: 7.875 kB / 0.5277 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.02144, allocations: 0 / 0.5277 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004393/0.02188, allocations: 181.3 kB / 0.5279 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.068e-05/0.02191, allocations: 11.91 kB / 0.5279 GB, free: 9.504 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.02194, allocations: 0.75 kB / 0.5279 GB, free: 9.504 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.284e-05/0.022, allocations: 15.92 kB / 0.5279 GB, free: 9.488 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.445e-05/0.02208, allocations: 8.641 kB / 0.5279 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.0221, allocations: 11.94 kB / 0.5279 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001726/0.02227, allocations: 158.1 kB / 0.5281 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.02227, allocations: 0 / 0.5281 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004932/0.02276, allocations: 51.94 kB / 0.5281 GB, free: 9.27 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.0002332/0.023, allocations: 107.2 kB / 0.5282 GB, free: 9.156 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001059/0.02406, allocations: 0.5016 MB / 0.5287 GB, free: 8.602 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.02406, allocations: 3.031 kB / 0.5287 GB, free: 8.602 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.02422, allocations: 63.59 kB / 0.5288 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.02464, allocations: 29.67 kB / 0.5288 GB, free: 8.508 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007464/0.02539, allocations: 254.9 kB / 0.5291 GB, free: 8.23 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.02554, allocations: 97.08 kB / 0.5292 GB, free: 8.113 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.174e-05/0.02559, allocations: 12.92 kB / 0.5292 GB, free: 8.102 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.347e-05/0.02564, allocations: 16.5 kB / 0.5292 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of SimCode: time 8.72e-07/0.02564, allocations: 2.438 kB / 0.5292 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of Templates: time 0.01064/0.03628, allocations: 3.023 MB / 0.5321 GB, free: 5.234 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: 6.220615248079412]