Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.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.001374/0.001374, allocations: 79.78 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001505/0.001505, allocations: 162.8 kB / 22.46 MB, free: 5.359 MB / 14.72 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.423/1.423, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 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-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 1.19/1.19, allocations: 154.6 MB / 413.8 MB, free: 5.234 MB / 382.1 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.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.6186 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.852e-05, allocations: 6.281 kB / 0.6187 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.002141/0.00217, allocations: 0.7484 MB / 0.6194 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001905/0.004075, allocations: 1.182 MB / 0.6205 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.958e-05/0.004135, allocations: 5 kB / 0.6205 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.392e-05/0.004169, allocations: 3.938 kB / 0.6205 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.378e-05/0.004252, allocations: 9.875 kB / 0.6206 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005662/0.004819, allocations: 143.4 kB / 0.6207 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.005045, allocations: 135.7 kB / 0.6208 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.496e-05/0.00514, allocations: 9.125 kB / 0.6208 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.005304, allocations: 71.92 kB / 0.6209 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.005411, allocations: 39.88 kB / 0.6209 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.634e-05/0.005448, allocations: 16.83 kB / 0.621 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.217e-05/0.00552, allocations: 24 kB / 0.621 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.793e-05/0.005548, allocations: 16.64 kB / 0.621 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.887e-05/0.005617, allocations: 31.97 kB / 0.621 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.005862, allocations: 147.6 kB / 0.6212 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.005865, allocations: 0 / 0.6212 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.11e-07/0.005865, allocations: 0 / 0.6212 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.005875, allocations: 0 / 0.6212 GB, free: 1.918 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007144/0.00659, allocations: 355.7 kB / 0.6215 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.006631, allocations: 8.031 kB / 0.6215 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.03e-05/0.006691, allocations: 16.89 kB / 0.6215 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.006818, allocations: 113.7 kB / 0.6216 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.006838, allocations: 4.375 kB / 0.6216 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.006867, allocations: 12.38 kB / 0.6216 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002825/0.00715, allocations: 78.19 kB / 0.6217 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.007159, allocations: 4.125 kB / 0.6217 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.00717, allocations: 4.375 kB / 0.6217 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.007175, allocations: 384 / 0.6217 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003292/0.007504, allocations: 75.84 kB / 0.6218 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.007935, allocations: 256.5 kB / 0.622 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.008145, allocations: 50.48 kB / 0.6221 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.00831, allocations: 44.91 kB / 0.6221 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.008333, allocations: 0 / 0.6221 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003351/0.008668, allocations: 99.23 kB / 0.6222 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.00867, allocations: 8 kB / 0.6222 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0006504/0.00932, allocations: 153.6 kB / 0.6224 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.009371, allocations: 59.34 kB / 0.6224 GB, free: 472 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.009491, allocations: 126 kB / 0.6226 GB, free: 332 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.009524, allocations: 29.7 kB / 0.6226 GB, free: 296 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.807e-05/0.009592, allocations: 96.08 kB / 0.6227 GB, free: 196 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.009615, allocations: 15.91 kB / 0.6227 GB, free: 180 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.586e-05/0.009691, allocations: 33.77 kB / 0.6227 GB, free: 140 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.009864, allocations: 318.8 kB / 0.623 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002598/0.01012, allocations: 93.62 kB / 0.6231 GB, free: 15.72 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002691/0.01039, allocations: 108.2 kB / 0.6232 GB, free: 15.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004084/0.0108, allocations: 152.1 kB / 0.6234 GB, free: 15.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.0108, allocations: 0 / 0.6234 GB, free: 15.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006188/0.01142, allocations: 252.8 kB / 0.6236 GB, free: 15.17 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.819e-05/0.01146, allocations: 33.77 kB / 0.6236 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.01147, allocations: 4 kB / 0.6237 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.01148, allocations: 0 / 0.6237 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.01162, allocations: 19.97 kB / 0.6237 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.01163, allocations: 0 / 0.6237 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.01187, allocations: 39.95 kB / 0.6237 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.0119, allocations: 4 kB / 0.6237 GB, free: 15.06 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0001201/0.01202, allocations: 127.7 kB / 0.6238 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.734e-05/0.01203, allocations: 7.984 kB / 0.6238 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.68e-05/0.01207, allocations: 20.31 kB / 0.6239 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.01207, allocations: 0 / 0.6239 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.01208, allocations: 0 / 0.6239 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.01208, allocations: 0 / 0.6239 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.01222, allocations: 125.5 kB / 0.624 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.01222, allocations: 0 / 0.624 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.01234, allocations: 19.98 kB / 0.624 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.01234, allocations: 0 / 0.624 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.01235, allocations: 11.88 kB / 0.624 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.01235, allocations: 4 kB / 0.624 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01235, allocations: 0 / 0.624 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004248/0.01278, allocations: 145 kB / 0.6242 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.352e-05/0.01279, allocations: 7.953 kB / 0.6242 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.01282, allocations: 11.92 kB / 0.6242 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.117e-05/0.01291, allocations: 11.98 kB / 0.6242 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/0.01296, allocations: 11.92 kB / 0.6242 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.01297, allocations: 4 kB / 0.6242 GB, free: 14.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.269e-05/0.01305, allocations: 98.14 kB / 0.6243 GB, free: 14.41 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.01305, allocations: 0 / 0.6243 GB, free: 14.41 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002299/0.01328, allocations: 20 kB / 0.6243 GB, free: 14.39 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001721/0.01345, allocations: 99.23 kB / 0.6244 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005607/0.01401, allocations: 208.9 kB / 0.6246 GB, free: 14.06 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.01401, allocations: 0 / 0.6246 GB, free: 14.06 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.01421, allocations: 47.95 kB / 0.6247 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.01445, allocations: 15.98 kB / 0.6247 GB, free: 14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004202/0.01487, allocations: 156.7 kB / 0.6248 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.246e-05/0.01494, allocations: 79.39 kB / 0.6249 GB, free: 13.72 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.721e-05/0.01498, allocations: 4 kB / 0.6249 GB, free: 13.72 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.922e-05/0.01502, allocations: 16.5 kB / 0.6249 GB, free: 13.7 MB / 0.545 GB Notification: Performance of SimCode: time 6.31e-07/0.01502, allocations: 0 / 0.6249 GB, free: 13.7 MB / 0.545 GB Notification: Performance of Templates: time 0.005661/0.02068, allocations: 1.711 MB / 0.6266 GB, free: 12.05 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.713045600801706] Failed to read output from testmodel.py, exit status != 0: 0.030127882957458496 0.048278663000000006 0.039099567 Calling exit ...