Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.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.001577/0.001577, 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.001613/0.001613, allocations: 176.4 kB / 23.24 MB, free: 4.191 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.268/1.268, allocations: 177.2 MB / 203.6 MB, free: 8.215 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.108/1.108, allocations: 154.7 MB / 414.7 MB, free: 6.5 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.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") translateModel(IDEAS.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.483e-05/1.483e-05, allocations: 2.281 kB / 0.6195 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.004277/0.004291, allocations: 2.972 MB / 0.6224 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003068/0.00736, allocations: 1.849 MB / 0.6242 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.007495, allocations: 11.94 kB / 0.6242 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007999/0.008295, allocations: 235.4 kB / 0.6244 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0005108/0.008806, allocations: 223.7 kB / 0.6247 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006058/0.009412, allocations: 262.2 kB / 0.6249 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005965/0.01001, allocations: 0.5108 MB / 0.6254 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003448/0.01035, allocations: 165.8 kB / 0.6256 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00042/0.01077, allocations: 291.3 kB / 0.6258 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000267/0.01104, allocations: 152.7 kB / 0.626 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.127e-05/0.01109, allocations: 24 kB / 0.626 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003824/0.01147, allocations: 241.2 kB / 0.6262 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of combineBinaries: time 0.0004729/0.01195, allocations: 0.4959 MB / 0.6267 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 0.0002073/0.01215, allocations: 280.5 kB / 0.627 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.553e-05/0.0122, allocations: 20 kB / 0.627 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.876e-05/0.01224, allocations: 15.92 kB / 0.627 GB, free: 12.71 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: 57 (46) * Number of variables: 57 (42) Notification: Performance of [SIM] Bindings: time 0.001592/0.01383, allocations: 1.343 MB / 0.6283 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of [SIM] FunctionAlias: time 0.00043/0.01426, allocations: 351.2 kB / 0.6287 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of [SIM] Early Inline: time 0.001779/0.01604, allocations: 1.568 MB / 0.6302 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 1: time 0.0003694/0.01641, allocations: 262.2 kB / 0.6305 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of [SIM] Alias: time 0.001989/0.0184, allocations: 1.46 MB / 0.6319 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 2: time 0.0003139/0.01871, allocations: 240.1 kB / 0.6321 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of [SIM] Remove Stream: time 0.0001712/0.01888, allocations: 148.2 kB / 0.6322 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of [SIM] Detect States: time 0.0005174/0.0194, allocations: 428.8 kB / 0.6327 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of [SIM] Events: time 0.0001744/0.01957, allocations: 97.52 kB / 0.6328 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of [SIM] Partitioning: time 0.0007144/0.02029, allocations: 0.5804 MB / 0.6333 GB, free: 5.801 MB / 0.5294 GB Notification: Performance of [SIM] Causalize: time 0.001843/0.02213, allocations: 1.412 MB / 0.6347 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0009563/0.02309, allocations: 1.011 MB / 0.6357 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of [INI] Simplify: time 0.0007687/0.02386, allocations: 0.4904 MB / 0.6362 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of [INI] Inline: time 0.001652/0.02551, allocations: 1.717 MB / 0.6378 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of [INI] Partitioning: time 4.874e-05/0.02556, allocations: 33.3 kB / 0.6379 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of [INI] Cleanup: time 0.0005014/0.02606, allocations: 499.5 kB / 0.6383 GB, free: 492 kB / 0.5294 GB Notification: Performance of [INI] Causalize: time 0.003428/0.02949, allocations: 2.548 MB / 0.6408 GB, free: 13.91 MB / 0.545 GB Notification: Performance of [INI] Tearing: time 0.0001025/0.02959, allocations: 92.16 kB / 0.6409 GB, free: 13.82 MB / 0.545 GB Notification: Performance of [SIM] Initialization: time 5.61e-07/0.02959, allocations: 0 / 0.6409 GB, free: 13.82 MB / 0.545 GB Notification: Performance of [SIM] Remove Dummies: time 6.993e-06/0.0296, allocations: 0 / 0.6409 GB, free: 13.82 MB / 0.545 GB Notification: Performance of [SIM] Tearing: time 3.854e-05/0.02963, allocations: 43.98 kB / 0.641 GB, free: 13.77 MB / 0.545 GB Notification: Performance of [SIM] Categorize: time 1.094e-05/0.02965, allocations: 3.938 kB / 0.641 GB, free: 13.77 MB / 0.545 GB Notification: Performance of [SIM] Solve: time 0.00116/0.03081, allocations: 0.774 MB / 0.6417 GB, free: 13 MB / 0.545 GB Notification: Performance of [SIM] Jacobian: time 0.0003199/0.03113, allocations: 290.9 kB / 0.642 GB, free: 12.68 MB / 0.545 GB Notification: Performance of [SIM] Minimize Homotopy System: time 4.028e-06/0.03113, allocations: 0 / 0.642 GB, free: 12.68 MB / 0.545 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: .................... 2 (2) {load.T_start, load.count} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 6 (6) {$SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 53 (scalar:53, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, 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: ........... 62 (scalar:62, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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: ........... 62 (scalar:62, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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.512e-05/0.03118, allocations: 48.5 kB / 0.642 GB, free: 12.64 MB / 0.545 GB Notification: Performance of SimCode: time 0.002448/0.03363, allocations: 1.82 MB / 0.6438 GB, free: 10.78 MB / 0.545 GB Notification: Performance of Templates: time 0.01007/0.0437, allocations: 5.377 MB / 0.6491 GB, free: 5.438 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.361241403967142] Failed to read output from testmodel.py, exit status != 0: 0.05164830759167671 0.06488835700000001 0.049776313 Calling exit ...