Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle.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.001363/0.001363, allocations: 85.7 kB / 19.96 MB, free: 1.941 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.001493/0.001493, allocations: 159.5 kB / 23.22 MB, free: 4.969 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.446/1.446, allocations: 177.2 MB / 203.6 MB, free: 9.207 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.188/1.188, allocations: 154.7 MB / 414.7 MB, free: 5.172 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.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.169e-05, allocations: 8.469 kB / 0.6195 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.001912/0.001934, allocations: 0.7381 MB / 0.6203 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002093/0.004027, allocations: 1.366 MB / 0.6216 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.857e-05/0.004106, allocations: 0 / 0.6216 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.533e-05/0.004151, allocations: 19.86 kB / 0.6216 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.873e-05/0.00423, allocations: 11.81 kB / 0.6216 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008668/0.005097, allocations: 317.4 kB / 0.6219 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004474/0.005544, allocations: 375.5 kB / 0.6223 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.00568, allocations: 33.28 kB / 0.6223 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003052/0.005986, allocations: 227.7 kB / 0.6225 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.006178, allocations: 115.6 kB / 0.6226 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.671e-05/0.006255, allocations: 36 kB / 0.6227 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.006367, allocations: 48 kB / 0.6227 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of combineBinaries: time 0.0003684/0.006736, allocations: 393.8 kB / 0.6231 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 8.387e-05/0.006819, allocations: 118.5 kB / 0.6232 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.818e-05/0.006908, allocations: 20 kB / 0.6232 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.387e-05/0.006931, allocations: 7.938 kB / 0.6232 GB, free: 0.7344 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: 26 (26) * Number of variables: 26 (26) Notification: Performance of [SIM] Bindings: time 0.001472/0.008404, allocations: 1.089 MB / 0.6243 GB, free: 15.52 MB / 0.545 GB Notification: Performance of [SIM] FunctionAlias: time 0.000297/0.008701, allocations: 251.8 kB / 0.6245 GB, free: 15.27 MB / 0.545 GB Notification: Performance of [SIM] Early Inline: time 0.001135/0.009835, allocations: 1.016 MB / 0.6255 GB, free: 14.22 MB / 0.545 GB Notification: Performance of [SIM] Simplify 1: time 0.0003931/0.01023, allocations: 251 kB / 0.6258 GB, free: 13.93 MB / 0.545 GB Notification: Performance of [SIM] Alias: time 0.001563/0.01179, allocations: 1.002 MB / 0.6267 GB, free: 12.85 MB / 0.545 GB Notification: Performance of [SIM] Simplify 2: time 0.0003397/0.01213, allocations: 243 kB / 0.627 GB, free: 12.56 MB / 0.545 GB Notification: Performance of [SIM] Remove Stream: time 0.0002801/0.01241, allocations: 221.5 kB / 0.6272 GB, free: 12.32 MB / 0.545 GB Notification: Performance of [SIM] Detect States: time 0.0007535/0.01317, allocations: 0.5894 MB / 0.6278 GB, free: 11.67 MB / 0.545 GB Notification: Performance of [SIM] Events: time 0.0004147/0.01358, allocations: 292.2 kB / 0.628 GB, free: 11.41 MB / 0.545 GB Notification: Performance of [SIM] Partitioning: time 0.0006886/0.01427, allocations: 0.5205 MB / 0.6286 GB, free: 10.85 MB / 0.545 GB Notification: Performance of [SIM] Causalize: time 0.0009639/0.01523, allocations: 0.6438 MB / 0.6292 GB, free: 10.2 MB / 0.545 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.00135/0.01658, allocations: 1.307 MB / 0.6305 GB, free: 8.895 MB / 0.545 GB Notification: Performance of [INI] Simplify: time 0.000932/0.01751, allocations: 0.5466 MB / 0.631 GB, free: 8.277 MB / 0.545 GB Notification: Performance of [INI] Inline: time 0.001615/0.01913, allocations: 1.424 MB / 0.6324 GB, free: 6.848 MB / 0.545 GB Notification: Performance of [INI] Partitioning: time 6.48e-05/0.01919, allocations: 39.98 kB / 0.6324 GB, free: 6.801 MB / 0.545 GB Notification: Performance of [INI] Cleanup: time 0.0004559/0.01965, allocations: 363.6 kB / 0.6328 GB, free: 6.445 MB / 0.545 GB Notification: Performance of [INI] Causalize: time 0.00167/0.02132, allocations: 1.099 MB / 0.6338 GB, free: 5.336 MB / 0.545 GB Notification: Performance of [INI] Tearing: time 3.088e-05/0.02135, allocations: 32 kB / 0.6339 GB, free: 5.305 MB / 0.545 GB Notification: Performance of [SIM] Initialization: time 1.032e-06/0.02135, allocations: 0 / 0.6339 GB, free: 5.305 MB / 0.545 GB Notification: Performance of [SIM] Remove Dummies: time 8.546e-06/0.02136, allocations: 0 / 0.6339 GB, free: 5.305 MB / 0.545 GB Notification: Performance of [SIM] Tearing: time 1.783e-05/0.02138, allocations: 28 kB / 0.6339 GB, free: 5.277 MB / 0.545 GB Notification: Performance of [SIM] Categorize: time 1.194e-05/0.02139, allocations: 3.984 kB / 0.6339 GB, free: 5.273 MB / 0.545 GB Notification: Performance of [SIM] Solve: time 0.0005073/0.0219, allocations: 342.4 kB / 0.6342 GB, free: 4.941 MB / 0.545 GB Notification: Performance of [SIM] Jacobian: time 1.547e-05/0.02191, allocations: 3.938 kB / 0.6342 GB, free: 4.938 MB / 0.545 GB Notification: Performance of [SIM] Minimize Homotopy System: time 7.01e-07/0.02191, allocations: 0 / 0.6342 GB, free: 4.938 MB / 0.545 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: .................... 8 (8) {togInp.y, cleInp.y, swiCleInp1.y, swiCleInp.y, truCleFalIni.y, truCleTruIni.y, falCleFalIni.y, falCleTruIni.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 36 (36) {falCleTruIni.u, falCleTruIni.clr, falCleFalIni.u, falCleFalIni.clr, truCleTruIni.u, truCleTruIni.clr, truCleFalIni.u, truCleFalIni.clr, swiCleInp.u, swiCleInp.clr, swiCleInp1.u, swiCleInp1.clr, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 36 (scalar:36, array:0, record:0) * Number of multi strong components: ............ 8 (algorithm:0, when:8, 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: ........... 58 (scalar:58, array:0, record:0) * Number of multi strong components: ............ 8 (algorithm:8, 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 0.0001564/0.02207, allocations: 55.48 kB / 0.6343 GB, free: 4.902 MB / 0.545 GB Notification: Performance of SimCode: time 0.001231/0.0233, allocations: 0.803 MB / 0.6351 GB, free: 4.074 MB / 0.545 GB Notification: Performance of Templates: time 0.008735/0.03204, allocations: 4.275 MB / 0.6392 GB, free: 15.87 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Toggle.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.656458102166653] Failed to read output from testmodel.py, exit status != 0: 0.04012354090809822 0.055777899000000006 0.045734481 Calling exit ...