Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.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.0008295/0.0008295, allocations: 80.44 kB / 19.91 MB, free: 4 kB / 13.93 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.0008727/0.0008727, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.8864/0.8864, allocations: 177.2 MB / 203.6 MB, free: 5.77 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-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 0.7388/0.7388, allocations: 154.7 MB / 414.7 MB, free: 0.7422 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.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y") translateModel(IDEAS.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009377/0.0009377, allocations: 67.91 kB / 0.6196 GB, free: 13.04 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4442/0.4452, allocations: 101.9 MB / 0.7192 GB, free: 23.67 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y): time 0.05604/0.5012, allocations: 69.2 MB / 0.7868 GB, free: 7.762 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01725/0.5185, allocations: 11.95 MB / 0.7984 GB, free: 14.26 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002967/0.5214, allocations: 93.72 kB / 0.7985 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002887/0.5243, allocations: 0.8346 MB / 0.7993 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.007192/0.5315, allocations: 2.648 MB / 0.8019 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003552/0.5351, allocations: 1.514 MB / 0.8034 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006659/0.5417, allocations: 4.421 MB / 0.8077 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002235/0.544, allocations: 1.126 MB / 0.8088 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005062/0.549, allocations: 2.537 MB / 0.8113 GB, free: 3.527 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001842/0.5509, allocations: 1.19 MB / 0.8125 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002719/0.5511, allocations: 160 kB / 0.8126 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00247/0.5536, allocations: 1.15 MB / 0.8137 GB, free: 1.023 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003685/0.554, allocations: 418.3 kB / 0.8141 GB, free: 0.6133 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008698/0.5548, allocations: 0.735 MB / 0.8149 GB, free: 15.87 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004575/0.5594, allocations: 3.056 MB / 0.8178 GB, free: 12.81 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.383e-06/0.5594, allocations: 4 kB / 0.8178 GB, free: 12.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.485e-06/0.5594, allocations: 0 / 0.8178 GB, free: 12.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.49e-05/0.5595, allocations: 0 / 0.8178 GB, free: 12.8 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003735/0.5632, allocations: 2.091 MB / 0.8199 GB, free: 10.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/0.5633, allocations: 8.031 kB / 0.8199 GB, free: 10.65 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007349/0.564, allocations: 239.7 kB / 0.8201 GB, free: 10.42 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002227/0.5662, allocations: 1.508 MB / 0.8216 GB, free: 8.867 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.91e-05/0.5663, allocations: 81.98 kB / 0.8217 GB, free: 8.785 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.5664, allocations: 104 kB / 0.8218 GB, free: 8.684 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/0.568, allocations: 1.247 MB / 0.823 GB, free: 7.367 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.5681, allocations: 3.938 kB / 0.823 GB, free: 7.363 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.354e-05/0.5681, allocations: 39.98 kB / 0.823 GB, free: 7.324 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-05/0.5682, allocations: 36 kB / 0.8231 GB, free: 7.289 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/0.5694, allocations: 0.8861 MB / 0.8239 GB, free: 6.402 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00412/0.5735, allocations: 3.496 MB / 0.8273 GB, free: 2.836 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009265/0.5745, allocations: 0.5621 MB / 0.8279 GB, free: 2.273 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003992/0.5749, allocations: 318.7 kB / 0.8282 GB, free: 1.961 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002164/0.5751, allocations: 84.33 kB / 0.8283 GB, free: 1.879 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.5751, allocations: 39.06 kB / 0.8283 GB, free: 1.832 MB / 0.698 GB Notification: Performance of pre-optimization done (n=61): time 2.826e-06/0.5751, allocations: 0 / 0.8283 GB, free: 1.832 MB / 0.698 GB Notification: Performance of matching and sorting (n=61): time 0.003842/0.5789, allocations: 1.644 MB / 0.8299 GB, free: 184 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.579, allocations: 59.91 kB / 0.83 GB, free: 112 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.5801, allocations: 1.074 MB / 0.831 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.603e-05/0.5802, allocations: 37.7 kB / 0.8311 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003968/0.5806, allocations: 0.6455 MB / 0.8317 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/0.5808, allocations: 218.1 kB / 0.8319 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.581, allocations: 166.5 kB / 0.8321 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.5811, allocations: 334 kB / 0.8324 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004003/0.5815, allocations: 284.7 kB / 0.8326 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006361/0.5821, allocations: 0.8944 MB / 0.8335 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000845/0.583, allocations: 0.6938 MB / 0.8342 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.583, allocations: 0 / 0.8342 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002417/0.5854, allocations: 1.262 MB / 0.8354 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.5854, allocations: 4.375 kB / 0.8354 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.5854, allocations: 8 kB / 0.8354 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000397/0.5858, allocations: 144.7 kB / 0.8356 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003491/0.5862, allocations: 163.7 kB / 0.8357 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007454/0.5869, allocations: 0.7005 MB / 0.8364 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005872/0.5875, allocations: 103.4 kB / 0.8365 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.72e-05/0.5875, allocations: 36.05 kB / 0.8366 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007584/0.5883, allocations: 0.5488 MB / 0.8371 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006126/0.5889, allocations: 0.8843 MB / 0.838 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008116/0.5897, allocations: 0.7015 MB / 0.8386 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.465e-06/0.5897, allocations: 0 / 0.8386 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002305/0.592, allocations: 1.242 MB / 0.8399 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.592, allocations: 8 kB / 0.8399 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.592, allocations: 8.312 kB / 0.8399 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002927/0.5923, allocations: 144.7 kB / 0.84 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003175/0.5927, allocations: 159.8 kB / 0.8402 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004882/0.5931, allocations: 0.7045 MB / 0.8408 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000546/0.5937, allocations: 95.55 kB / 0.8409 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-05/0.5937, allocations: 32 kB / 0.841 GB, free: 4.293 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002018/0.5939, allocations: 232.6 kB / 0.8412 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.5941, allocations: 131.1 kB / 0.8413 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002291/0.5964, allocations: 1.25 MB / 0.8425 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002046/0.5984, allocations: 1.105 MB / 0.8436 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.5984, allocations: 0 / 0.8436 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004321/0.5989, allocations: 210.9 kB / 0.8438 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.599, allocations: 12 kB / 0.8438 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003142/0.5993, allocations: 59.89 kB / 0.8439 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.867e-05/0.5994, allocations: 52.5 kB / 0.8439 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001381/0.6008, allocations: 0.9506 MB / 0.8449 GB, free: 244 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001455/0.6022, allocations: 1.311 MB / 0.8461 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003824/0.6026, allocations: 301 kB / 0.8464 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0008037/0.6034, allocations: 0.7484 MB / 0.8472 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of Backend: time 6.81e-07/0.6034, allocations: 0 / 0.8472 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002632/0.606, allocations: 1.322 MB / 0.8485 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of SimCode: time 0.003972/0.61, allocations: 3.023 MB / 0.8514 GB, free: 9.5 MB / 0.7292 GB Notification: Performance of Templates: time 0.03576/0.6458, allocations: 31.83 MB / 0.8825 GB, free: 10.21 MB / 0.7605 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.704832788091153] Failed to read output from testmodel.py, exit status != 0: 0.6526465381029993 0.663450047 0.101343002 Calling exit ...