Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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.001449/0.001449, allocations: 72.45 kB / 19.96 MB, free: 1.59 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.001615/0.001615, allocations: 167 kB / 23.23 MB, free: 4.758 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.311/1.311, allocations: 177.2 MB / 203.6 MB, free: 9.145 MB / 190.1 MB " [Timeout remaining time 179] 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.1/1.1, allocations: 154.7 MB / 414.7 MB, free: 5.145 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.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(IDEAS.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.363e-05, allocations: 5.234 kB / 0.6195 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.005225/0.005249, allocations: 2.842 MB / 0.6223 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003128/0.008377, allocations: 1.741 MB / 0.624 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.0085, allocations: 7.938 kB / 0.624 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007902/0.00929, allocations: 239 kB / 0.6242 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004446/0.009735, allocations: 198.9 kB / 0.6244 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005046/0.01024, allocations: 234.8 kB / 0.6246 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004685/0.01071, allocations: 446.8 kB / 0.625 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003071/0.01101, allocations: 130.3 kB / 0.6252 GB, free: 14.74 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003692/0.01138, allocations: 243.4 kB / 0.6254 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.01161, allocations: 119.7 kB / 0.6255 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.952e-05/0.01165, allocations: 20 kB / 0.6255 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003193/0.01196, allocations: 231.4 kB / 0.6258 GB, free: 14.14 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0003618/0.01233, allocations: 400.6 kB / 0.6261 GB, free: 13.74 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 0.0001752/0.0125, allocations: 241.3 kB / 0.6264 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.556e-05/0.01254, allocations: 16 kB / 0.6264 GB, free: 13.49 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.93e-05/0.01256, allocations: 8 kB / 0.6264 GB, free: 13.48 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: 53 (42) * Number of variables: 53 (38) Notification: Performance of [SIM] Bindings: time 0.001223/0.01378, allocations: 1.106 MB / 0.6275 GB, free: 12.25 MB / 0.545 GB Notification: Performance of [SIM] FunctionAlias: time 0.0003513/0.01413, allocations: 289 kB / 0.6277 GB, free: 11.98 MB / 0.545 GB Notification: Performance of [SIM] Early Inline: time 0.001453/0.01558, allocations: 1.355 MB / 0.6291 GB, free: 10.61 MB / 0.545 GB Notification: Performance of [SIM] Simplify 1: time 0.0002991/0.01588, allocations: 213.6 kB / 0.6293 GB, free: 10.36 MB / 0.545 GB Notification: Performance of [SIM] Alias: time 0.001732/0.01762, allocations: 1.303 MB / 0.6305 GB, free: 8.855 MB / 0.545 GB Notification: Performance of [SIM] Simplify 2: time 0.0002514/0.01787, allocations: 183.5 kB / 0.6307 GB, free: 8.629 MB / 0.545 GB Notification: Performance of [SIM] Remove Stream: time 0.0001208/0.01799, allocations: 104.3 kB / 0.6308 GB, free: 8.5 MB / 0.545 GB Notification: Performance of [SIM] Detect States: time 0.0004231/0.01841, allocations: 358.9 kB / 0.6312 GB, free: 8.086 MB / 0.545 GB Notification: Performance of [SIM] Events: time 0.0001028/0.01851, allocations: 64.03 kB / 0.6312 GB, free: 8.023 MB / 0.545 GB Notification: Performance of [SIM] Partitioning: time 0.0005655/0.01908, allocations: 495.7 kB / 0.6317 GB, free: 7.48 MB / 0.545 GB Notification: Performance of [SIM] Causalize: time 0.001642/0.02072, allocations: 1.258 MB / 0.6329 GB, free: 6.141 MB / 0.545 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000736/0.02146, allocations: 0.7884 MB / 0.6337 GB, free: 5.352 MB / 0.545 GB Notification: Performance of [INI] Simplify: time 0.000557/0.02201, allocations: 391.2 kB / 0.6341 GB, free: 4.898 MB / 0.545 GB Notification: Performance of [INI] Inline: time 0.001316/0.02333, allocations: 1.387 MB / 0.6354 GB, free: 3.508 MB / 0.545 GB Notification: Performance of [INI] Partitioning: time 4.028e-05/0.02337, allocations: 22.69 kB / 0.6354 GB, free: 3.477 MB / 0.545 GB Notification: Performance of [INI] Cleanup: time 0.0003957/0.02377, allocations: 396.9 kB / 0.6358 GB, free: 3.086 MB / 0.545 GB Notification: Performance of [INI] Causalize: time 0.002672/0.02644, allocations: 2.056 MB / 0.6378 GB, free: 1.008 MB / 0.545 GB Notification: Performance of [INI] Tearing: time 0.0001015/0.02654, allocations: 80.16 kB / 0.6379 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of [SIM] Initialization: time 8.62e-07/0.02654, allocations: 0 / 0.6379 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of [SIM] Remove Dummies: time 8.756e-06/0.02655, allocations: 288 / 0.6379 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of [SIM] Tearing: time 3.567e-05/0.02658, allocations: 47.92 kB / 0.638 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of [SIM] Categorize: time 1.06e-05/0.02659, allocations: 0 / 0.638 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of [SIM] Solve: time 0.000946/0.02754, allocations: 0.6166 MB / 0.6386 GB, free: 272 kB / 0.545 GB Notification: Performance of [SIM] Jacobian: time 0.0003376/0.02788, allocations: 276.7 kB / 0.6388 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of [SIM] Minimize Homotopy System: time 4.078e-06/0.02788, allocations: 0 / 0.6388 GB, free: 15.96 MB / 0.5606 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 3 * 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: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 2 (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: ........... 46 (scalar:46, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 1 (resizable: 1, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 51 (scalar:51, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 1 (resizable: 1, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 51 (scalar:51, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 1 (resizable: 1, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 5.77e-05/0.02794, allocations: 49.41 kB / 0.6389 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of SimCode: time 0.002264/0.0302, allocations: 1.613 MB / 0.6404 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of Templates: time 0.008705/0.03891, allocations: 4.332 MB / 0.6447 GB, free: 9.996 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.300134267657995] Failed to read output from testmodel.py, exit status != 0: 0.04755191504955292 0.05946788100000001 0.044120164 Calling exit ...