Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.ModularReversible.Examples.CarnotWithLosses.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.0007207/0.0007207, allocations: 80.25 kB / 20.06 MB, free: 4.465 MB / 18.57 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.0007041/0.0007041, allocations: 173.9 kB / 23.36 MB, free: 1.16 MB / 18.57 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 0.8423/0.8423, allocations: 177.2 MB / 203.7 MB, free: 5.711 MB / 186.7 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-545:108: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-545:116: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 0.6723/0.6723, allocations: 154.6 MB / 414.7 MB, free: 0.75 MB / 378.7 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.Fluid.Chillers.ModularReversible.Examples.CarnotWithLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.ModularReversible.Examples.CarnotWithLosses") translateModel(IDEAS.Fluid.Chillers.ModularReversible.Examples.CarnotWithLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.ModularReversible.Examples.CarnotWithLosses") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.471e-05/1.471e-05, allocations: 6.25 kB / 0.6196 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.ModularReversible.Examples.CarnotWithLosses): time 0.308/0.308, allocations: 75.58 MB / 0.6934 GB, free: 61.07 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0168/0.3248, allocations: 17.38 MB / 0.7104 GB, free: 57.01 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00374/0.3286, allocations: 132.1 kB / 0.7105 GB, free: 56.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003456/0.332, allocations: 1.42 MB / 0.7119 GB, free: 56.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.007687/0.3397, allocations: 3.631 MB / 0.7154 GB, free: 53.89 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004716/0.3444, allocations: 2.715 MB / 0.7181 GB, free: 52.22 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007689/0.3521, allocations: 9.081 MB / 0.7269 GB, free: 47.61 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005005/0.3571, allocations: 3.667 MB / 0.7305 GB, free: 45.19 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008575/0.3657, allocations: 4.951 MB / 0.7354 GB, free: 42.56 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00419/0.3699, allocations: 2.042 MB / 0.7374 GB, free: 41.7 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001352/0.3712, allocations: 0.5599 MB / 0.7379 GB, free: 41.7 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004787/0.376, allocations: 2.262 MB / 0.7401 GB, free: 41.11 MB / 0.6355 GB Notification: Performance of combineBinaries: time 0.006761/0.3828, allocations: 7.724 MB / 0.7477 GB, free: 35.96 MB / 0.6355 GB Notification: Performance of replaceArrayConstructors: time 0.003158/0.3859, allocations: 4.617 MB / 0.7522 GB, free: 32.94 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001266/0.3872, allocations: 308.9 kB / 0.7525 GB, free: 32.94 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.0008556/0.3881, allocations: 172.3 kB / 0.7526 GB, free: 32.86 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 718 (698) * Number of variables: 718 (693) Notification: Performance of [SIM] Bindings: time 0.01665/0.4047, allocations: 19.4 MB / 0.7716 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of [SIM] FunctionAlias: time 0.004285/0.409, allocations: 3.404 MB / 0.7749 GB, free: 17.72 MB / 0.6355 GB Notification: Performance of [SIM] Early Inline: time 0.01111/0.4201, allocations: 13.57 MB / 0.7882 GB, free: 8.203 MB / 0.6355 GB Notification: Performance of [SIM] Simplify 1: time 0.002196/0.4223, allocations: 0.99 MB / 0.7891 GB, free: 7.762 MB / 0.6355 GB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.01766/0.44, allocations: 18.86 MB / 0.8075 GB, free: 9.637 MB / 0.6511 GB Notification: Performance of [SIM] Simplify 2: time 0.000829/0.4408, allocations: 0.6288 MB / 0.8081 GB, free: 8.953 MB / 0.6511 GB Notification: Performance of [SIM] Remove Stream: time 0.0007332/0.4415, allocations: 0.711 MB / 0.8088 GB, free: 8.191 MB / 0.6511 GB Notification: Performance of [SIM] Detect States: time 0.002146/0.4437, allocations: 2.549 MB / 0.8113 GB, free: 5.516 MB / 0.6511 GB Notification: Performance of [SIM] Events: time 0.0006248/0.4443, allocations: 0.694 MB / 0.812 GB, free: 4.812 MB / 0.6511 GB Notification: Performance of [SIM] Partitioning: time 0.002375/0.4467, allocations: 2.84 MB / 0.8148 GB, free: 1.797 MB / 0.6511 GB Notification: Performance of [SIM] Causalize: time 0.01022/0.4569, allocations: 10.47 MB / 0.825 GB, free: 6.988 MB / 0.6667 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003904/0.4608, allocations: 5.746 MB / 0.8306 GB, free: 1.238 MB / 0.6667 GB Notification: Performance of [INI] Simplify: time 0.006215/0.467, allocations: 5.006 MB / 0.8355 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of [INI] Inline: time 0.007617/0.4746, allocations: 11.45 MB / 0.8467 GB, free: 0.5547 MB / 0.6823 GB Notification: Performance of [INI] Partitioning: time 0.0005038/0.4751, allocations: 221.8 kB / 0.8469 GB, free: 300 kB / 0.6823 GB Notification: Performance of [INI] Cleanup: time 0.00269/0.4778, allocations: 3.758 MB / 0.8506 GB, free: 12.5 MB / 0.698 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) $SEV_12 = chi.safCtr.onOffCtr.andIsAblToTurOn.u1 and chi.safCtr.onOffCtr.booConstCycRat.k ($RES_EVT_948); [SCAL] (1) $SEV_11 = chi.safCtr.onOffCtr.runTimCtr.runTim.y >= chi.safCtr.onOffCtr.runTimCtr.runTimGreMin.threshold ($RES_EVT_947); Notification: Performance of [INI] Causalize: time 0.04745/0.5253, allocations: 44.74 MB / 0.8943 GB, free: 15 MB / 0.7448 GB Notification: Performance of [INI] Tearing: time 0.0006711/0.5259, allocations: 1.024 MB / 0.8953 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of [SIM] Initialization: time 2.124e-06/0.5259, allocations: 0 / 0.8953 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of [SIM] DAE-Mode: time 0.001345/0.5273, allocations: 0.9769 MB / 0.8962 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of [SIM] Remove Dummies: time 1.568e-05/0.5273, allocations: 2.188 kB / 0.8962 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of [SIM] Tearing: time 0.0004039/0.5277, allocations: 0.6565 MB / 0.8969 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of [SIM] Categorize: time 2.421e-05/0.5277, allocations: 16 kB / 0.8969 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of [SIM] Solve: time 0.008134/0.5359, allocations: 6.086 MB / 0.9028 GB, free: 6.266 MB / 0.7448 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall1Arg failed for: product " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 2.917690297588706] Failed to read output from testmodel.py, exit status != 0: 0.5446324134245515 0.552967794 0.16285934099999994 Calling exit ...