Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.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.001192/0.001192, allocations: 84.83 kB / 19.95 MB, free: 1.766 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.001379/0.001379, allocations: 176.1 kB / 23.23 MB, free: 4.871 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.299/1.299, allocations: 177.2 MB / 203.6 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.099/1.099, allocations: 155 MB / 415 MB, free: 4.91 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") translateModel(IDEAS.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.072e-05/1.072e-05, allocations: 2.281 kB / 0.6198 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling): time 0.006252/0.006263, allocations: 4.782 MB / 0.6245 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00408/0.01034, allocations: 2.458 MB / 0.6269 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000492/0.01083, allocations: 47.75 kB / 0.6269 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003136/0.01115, allocations: 130.6 kB / 0.627 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002805/0.01143, allocations: 102.9 kB / 0.6271 GB, free: 12.69 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.01245, allocations: 0.4982 MB / 0.6276 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009264/0.01338, allocations: 0.9933 MB / 0.6286 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004399/0.01382, allocations: 283.8 kB / 0.6289 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00057/0.01439, allocations: 486.9 kB / 0.6293 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003011/0.01469, allocations: 243.1 kB / 0.6296 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.00012/0.01481, allocations: 84 kB / 0.6296 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002746/0.01508, allocations: 191.8 kB / 0.6298 GB, free: 9.918 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0008865/0.01597, allocations: 1.261 MB / 0.631 GB, free: 8.645 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 0.0004842/0.01645, allocations: 0.7862 MB / 0.6318 GB, free: 7.848 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.526e-05/0.01654, allocations: 52 kB / 0.6319 GB, free: 7.797 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.862e-05/0.01664, allocations: 63.42 kB / 0.6319 GB, free: 7.734 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 (151) * Number of variables: 154 (152) Notification: Performance of [SIM] Bindings: time 0.003036/0.01967, allocations: 3.296 MB / 0.6351 GB, free: 4.258 MB / 0.545 GB Notification: Performance of [SIM] FunctionAlias: time 0.000395/0.02007, allocations: 417.2 kB / 0.6355 GB, free: 3.84 MB / 0.545 GB Notification: Performance of [SIM] Early Inline: time 0.002019/0.02209, allocations: 2.178 MB / 0.6377 GB, free: 1.625 MB / 0.545 GB Notification: Performance of [SIM] Simplify 1: time 0.0005782/0.02267, allocations: 396.5 kB / 0.638 GB, free: 1.168 MB / 0.545 GB Notification: Performance of [SIM] Alias: time 0.004476/0.02714, allocations: 3.725 MB / 0.6417 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of [SIM] Simplify 2: time 0.0003878/0.02753, allocations: 292.2 kB / 0.642 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of [SIM] Remove Stream: time 0.0002493/0.02778, allocations: 226.8 kB / 0.6422 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of [SIM] Detect States: time 0.0006313/0.02841, allocations: 0.5557 MB / 0.6427 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of [SIM] Events: time 0.000163/0.02857, allocations: 104.3 kB / 0.6428 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of [SIM] Partitioning: time 0.0006375/0.02921, allocations: 0.5279 MB / 0.6433 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of [SIM] Causalize: time 0.001111/0.03032, allocations: 0.8066 MB / 0.6441 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0009932/0.03131, allocations: 1.136 MB / 0.6452 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of [INI] Simplify: time 0.001364/0.03268, allocations: 1.003 MB / 0.6462 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of [INI] Inline: time 0.001739/0.03442, allocations: 1.947 MB / 0.6481 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of [INI] Partitioning: time 8.122e-05/0.0345, allocations: 43.98 kB / 0.6482 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of [INI] Cleanup: time 0.0006402/0.03514, allocations: 0.7181 MB / 0.6489 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of [INI] Causalize: time 0.00732/0.04246, allocations: 5.605 MB / 0.6543 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of [INI] Tearing: time 7.923e-05/0.04254, allocations: 115.9 kB / 0.6544 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of [SIM] Initialization: time 5.51e-07/0.04254, allocations: 0 / 0.6544 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of [SIM] Remove Dummies: time 7.605e-06/0.04255, allocations: 4.5 kB / 0.6544 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of [SIM] Tearing: time 1.861e-05/0.04256, allocations: 32 kB / 0.6545 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of [SIM] Categorize: time 6.592e-06/0.04257, allocations: 0 / 0.6545 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of [SIM] Solve: time 0.0009483/0.04352, allocations: 0.668 MB / 0.6551 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of [SIM] Jacobian: time 0.0004131/0.04393, allocations: 390.7 kB / 0.6555 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of [SIM] Minimize Homotopy System: time 4.048e-06/0.04394, allocations: 4 kB / 0.6555 GB, free: 14.42 MB / 0.5762 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 3 (3) {optSta.TZon, conPID1.addPID.u2, conPID.addPID.u2} * Number of discrete states: .................... 1 (1) {pul.booPul.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 15 (15) {optSta.hysSta.greHys.y, optSta.falEdg.y, optSta.falEdg.not_u, booToRea1.u, occSch.tOcc, occSch.tNext, TSetCoo.u, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 57 (scalar:57, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, 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: ........... 115 (scalar:115, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:1) * 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 (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 115 (scalar:115, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:1) * 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 7.091e-05/0.04401, allocations: 74.72 kB / 0.6556 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of SimCode: time 0.003136/0.04714, allocations: 2.993 MB / 0.6585 GB, free: 11.27 MB / 0.5762 GB [CodegenCFunctions.tpl:3385:11-3385:11:writable] Error: Template error: tupleReturnVariableUpdates: Unhandled expression. -((-occSch.tNexNonOcc) - time). " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.362065764144063] Failed to read output from testmodel.py, exit status != 0: 0.06507008709013462 0.078127309 0.058778938 Calling exit ...