Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 92.23 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 169.2 kB / 16.58 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8415/0.8415, allocations: 115.5 MB / 407.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002951/0.0002952, allocations: 13.62 kB / 495.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1322, allocations: 77.53 MB / 0.5593 GB, free: 9.406 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.2975/0.4298, allocations: 56.47 MB / 0.6145 GB, free: 2.422 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01516/0.445, allocations: 11.21 MB / 0.6254 GB, free: 10.34 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002052/0.4471, allocations: 53.94 kB / 0.6255 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00161/0.4487, allocations: 469.7 kB / 0.6259 GB, free: 10.06 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00484/0.4535, allocations: 1.523 MB / 0.6274 GB, free: 9.176 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002771/0.4563, allocations: 0.8598 MB / 0.6282 GB, free: 8.773 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004401/0.4607, allocations: 3.394 MB / 0.6315 GB, free: 6.922 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001363/0.4621, allocations: 0.799 MB / 0.6323 GB, free: 6.414 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002156/0.4643, allocations: 1.038 MB / 0.6333 GB, free: 5.836 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001222/0.4655, allocations: 0.8018 MB / 0.6341 GB, free: 5.375 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000139/0.4657, allocations: 42.38 kB / 0.6342 GB, free: 5.375 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002525/0.4682, allocations: 1.102 MB / 0.6352 GB, free: 4.781 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000237/0.4685, allocations: 197.1 kB / 0.6354 GB, free: 4.633 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003771/0.4689, allocations: 287.2 kB / 0.6357 GB, free: 4.465 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001953/0.4708, allocations: 1.641 MB / 0.6373 GB, free: 3.391 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.4708, allocations: 0 / 0.6373 GB, free: 3.391 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4708, allocations: 0 / 0.6373 GB, free: 3.391 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.378e-05/0.4709, allocations: 0 / 0.6373 GB, free: 3.391 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002621/0.4735, allocations: 1.506 MB / 0.6388 GB, free: 2.215 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.4735, allocations: 13.56 kB / 0.6388 GB, free: 2.211 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002008/0.4756, allocations: 475.4 kB / 0.6392 GB, free: 2.016 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001997/0.4776, allocations: 1.089 MB / 0.6403 GB, free: 1.141 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003358/0.4779, allocations: 125.8 kB / 0.6404 GB, free: 1.094 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.4781, allocations: 82.84 kB / 0.6405 GB, free: 1.066 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002112/0.4802, allocations: 1.005 MB / 0.6415 GB, free: 440 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.4802, allocations: 5.312 kB / 0.6415 GB, free: 436 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.196e-05/0.4803, allocations: 32.25 kB / 0.6415 GB, free: 412 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/0.4803, allocations: 21.81 kB / 0.6415 GB, free: 408 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002326/0.4827, allocations: 0.9117 MB / 0.6424 GB, free: 15.97 MB / 478.1 MB 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.006545/0.4892, allocations: 4.904 MB / 0.6472 GB, free: 11.62 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003201/0.4925, allocations: 0.8974 MB / 0.6481 GB, free: 11.21 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007073/0.4932, allocations: 327.2 kB / 0.6484 GB, free: 11.06 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006829/0.4939, allocations: 0.905 MB / 0.6493 GB, free: 9.996 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.4939, allocations: 42.5 kB / 0.6493 GB, free: 9.945 MB / 478.1 MB Notification: Performance of pre-optimization done (n=44): time 2.305e-06/0.4939, allocations: 4 kB / 0.6493 GB, free: 9.941 MB / 478.1 MB Notification: Performance of matching and sorting (n=44): time 0.008199/0.5021, allocations: 2.167 MB / 0.6515 GB, free: 8.062 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.5022, allocations: 55.41 kB / 0.6515 GB, free: 7.996 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/0.5038, allocations: 1.044 MB / 0.6525 GB, free: 6.938 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.078e-05/0.5039, allocations: 37.7 kB / 0.6526 GB, free: 6.895 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004358/0.5044, allocations: 0.5196 MB / 0.6531 GB, free: 6.371 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.5045, allocations: 157.8 kB / 0.6532 GB, free: 6.215 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.779e-05/0.5046, allocations: 11.94 kB / 0.6532 GB, free: 6.203 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.5047, allocations: 329.9 kB / 0.6535 GB, free: 5.875 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000873/0.5056, allocations: 324.8 kB / 0.6539 GB, free: 5.559 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.5066, allocations: 0.5177 MB / 0.6544 GB, free: 4.961 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009302/0.5076, allocations: 383.2 kB / 0.6547 GB, free: 4.586 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5076, allocations: 0 / 0.6547 GB, free: 4.586 MB / 478.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002635/0.5102, allocations: 1.035 MB / 0.6557 GB, free: 3.539 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001349/0.5104, allocations: 206.4 kB / 0.6559 GB, free: 3.281 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.5104, allocations: 4 kB / 0.6559 GB, free: 3.277 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001288/0.5117, allocations: 338.2 kB / 0.6563 GB, free: 2.945 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005392/0.5123, allocations: 123.9 kB / 0.6564 GB, free: 2.824 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.5137, allocations: 0.9386 MB / 0.6573 GB, free: 1.859 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.515, allocations: 191.3 kB / 0.6575 GB, free: 1.672 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.904e-05/0.5151, allocations: 27.98 kB / 0.6575 GB, free: 1.645 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.5151, allocations: 4 kB / 0.6575 GB, free: 1.641 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002389/0.5175, allocations: 0.91 MB / 0.6584 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.5175, allocations: 7.984 kB / 0.6584 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/0.5186, allocations: 331 kB / 0.6587 GB, free: 404 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005359/0.5192, allocations: 127.8 kB / 0.6588 GB, free: 276 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/0.5205, allocations: 0.9386 MB / 0.6598 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.5217, allocations: 171.3 kB / 0.6599 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.775e-05/0.5217, allocations: 27.98 kB / 0.66 GB, free: 15.11 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004872/0.5222, allocations: 354.5 kB / 0.6603 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001855/0.5224, allocations: 106.7 kB / 0.6604 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003643/0.5261, allocations: 1.212 MB / 0.6616 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/0.5261, allocations: 8 kB / 0.6616 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.5261, allocations: 0 / 0.6616 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.5261, allocations: 7.922 kB / 0.6616 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005019/0.5312, allocations: 2.284 MB / 0.6638 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.5312, allocations: 4 kB / 0.6638 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002956/0.5315, allocations: 72.17 kB / 0.6639 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001023/0.5325, allocations: 336.6 kB / 0.6642 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.405e-05/0.5326, allocations: 15.95 kB / 0.6642 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00142/0.534, allocations: 0.9682 MB / 0.6652 GB, free: 9.621 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.534, allocations: 7.938 kB / 0.6652 GB, free: 9.613 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003464/0.5375, allocations: 1.279 MB / 0.6664 GB, free: 8.293 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004715/0.538, allocations: 291.3 kB / 0.6667 GB, free: 7.988 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/0.5382, allocations: 12 kB / 0.6667 GB, free: 7.977 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009141/0.5391, allocations: 111.8 kB / 0.6668 GB, free: 7.867 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.522e-05/0.5392, allocations: 39.67 kB / 0.6669 GB, free: 7.828 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.486e-05/0.5392, allocations: 27.98 kB / 0.6669 GB, free: 7.801 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00118/0.5404, allocations: 0.735 MB / 0.6676 GB, free: 7.059 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5404, allocations: 0 / 0.6676 GB, free: 7.059 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001584/0.542, allocations: 0.5652 MB / 0.6682 GB, free: 6.492 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (34): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007398/0.5428, allocations: 361.5 kB / 0.6685 GB, free: 6.137 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003052/0.5458, allocations: 1.169 MB / 0.6696 GB, free: 4.969 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5459, allocations: 0 / 0.6696 GB, free: 4.969 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008876/0.5468, allocations: 378.9 kB / 0.67 GB, free: 4.602 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002342/0.5491, allocations: 0.4946 MB / 0.6705 GB, free: 4.109 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005223/0.5543, allocations: 2.492 MB / 0.6729 GB, free: 1.555 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006592/0.555, allocations: 1.061 MB / 0.674 GB, free: 476 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009506/0.556, allocations: 216.7 kB / 0.6742 GB, free: 256 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.5562, allocations: 79.42 kB / 0.6742 GB, free: 176 kB / 494.1 MB Notification: Performance of SimCode: time 4.61e-07/0.5562, allocations: 0 / 0.6742 GB, free: 176 kB / 494.1 MB Notification: Performance of Templates: time 0.03857/0.5948, allocations: 23.18 MB / 0.6969 GB, free: 9.273 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)