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.001357/0.001357, allocations: 74.72 kB / 19.96 MB, free: 1.453 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.00152/0.00152, allocations: 171 kB / 23.23 MB, free: 4.195 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.375/1.375, allocations: 177.2 MB / 203.6 MB, free: 8.223 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.202/1.202, allocations: 154.7 MB / 414.7 MB, free: 6.52 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 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.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 - Absyn->SCode: time 1.988e-05/1.988e-05, allocations: 5.125 kB / 0.6196 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001788/0.001808, allocations: 0.7662 MB / 0.6203 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001625/0.003432, allocations: 1.174 MB / 0.6215 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.372e-05/0.003486, allocations: 0 / 0.6215 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.176e-05/0.003518, allocations: 7.875 kB / 0.6215 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.416e-05/0.003592, allocations: 17.36 kB / 0.6215 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004969/0.004089, allocations: 136.5 kB / 0.6216 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002229/0.004312, allocations: 145.4 kB / 0.6218 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.02e-05/0.004402, allocations: 11.98 kB / 0.6218 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.004538, allocations: 73.33 kB / 0.6218 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.004642, allocations: 43.86 kB / 0.6219 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.492e-05/0.004677, allocations: 12 kB / 0.6219 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.48e-05/0.004751, allocations: 19.98 kB / 0.6219 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of combineBinaries: time 0.000153/0.004904, allocations: 136.4 kB / 0.6221 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of replaceArrayConstructors: time 4.637e-05/0.004951, allocations: 67.12 kB / 0.6221 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.004987, allocations: 8 kB / 0.6221 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.508e-05/0.005002, allocations: 0 / 0.6221 GB, free: 1.754 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 (7) * Number of variables: 7 (7) Notification: Performance of [SIM] Bindings: time 0.0006951/0.005697, allocations: 0.5117 MB / 0.6226 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001002/0.005797, allocations: 60.02 kB / 0.6227 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of [SIM] Early Inline: time 0.0003404/0.006137, allocations: 309.4 kB / 0.623 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of [SIM] Simplify 1: time 0.0001979/0.006335, allocations: 142.2 kB / 0.6231 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of [SIM] Alias: time 0.0005904/0.006926, allocations: 321.8 kB / 0.6234 GB, free: 160 kB / 0.5137 GB Notification: Performance of [SIM] Simplify 2: time 0.0001759/0.007102, allocations: 132 kB / 0.6235 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of [SIM] Remove Stream: time 0.00012/0.007222, allocations: 108.3 kB / 0.6236 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of [SIM] Detect States: time 0.0002958/0.007517, allocations: 192.9 kB / 0.6238 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of [SIM] Events: time 0.0001211/0.007638, allocations: 57.09 kB / 0.6239 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of [SIM] Partitioning: time 0.0001909/0.007829, allocations: 142 kB / 0.624 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of [SIM] Causalize: time 0.0002338/0.008063, allocations: 135.9 kB / 0.6241 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003073/0.00837, allocations: 307.7 kB / 0.6244 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of [INI] Simplify: time 0.0003556/0.008726, allocations: 242.5 kB / 0.6247 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of [INI] Inline: time 0.0003522/0.009078, allocations: 349.3 kB / 0.625 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of [INI] Partitioning: time 2.084e-05/0.009099, allocations: 16.11 kB / 0.625 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of [INI] Cleanup: time 0.0001124/0.009211, allocations: 95.84 kB / 0.6251 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of [INI] Causalize: time 0.0003339/0.009545, allocations: 197.9 kB / 0.6253 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of [INI] Tearing: time 1.342e-05/0.009559, allocations: 8 kB / 0.6253 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of [SIM] Initialization: time 4.41e-07/0.009559, allocations: 0 / 0.6253 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of [SIM] Remove Dummies: time 4.028e-06/0.009563, allocations: 0.6875 kB / 0.6253 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of [SIM] Tearing: time 3.576e-06/0.009567, allocations: 4 kB / 0.6253 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of [SIM] Categorize: time 6.342e-06/0.009573, allocations: 0.5 kB / 0.6253 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of [SIM] Solve: time 0.0001492/0.009722, allocations: 91.27 kB / 0.6254 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of [SIM] Jacobian: time 8.095e-06/0.00973, allocations: 0 / 0.6254 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of [SIM] Minimize Homotopy System: time 4.21e-07/0.009731, allocations: 0 / 0.6254 GB, free: 13.87 MB / 0.5294 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 1 (1) {booPul.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 6 (6) {$TEV_5, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 9 (scalar:9, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:1, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 10 (scalar:10, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.831e-05/0.009769, allocations: 18.8 kB / 0.6254 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of SimCode: time 0.0006146/0.01038, allocations: 355.7 kB / 0.6258 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.004125/0.01451, allocations: 1.252 MB / 0.627 GB, free: 12.31 MB / 0.5294 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.534880060702562] Failed to read output from testmodel.py, exit status != 0: 0.0221404992043972 0.036724071000000004 0.028718456000000003 Calling exit ...