Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 108.4 kB / 17.03 MB, free: 5.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 194.9 kB / 17.97 MB, free: 5.078 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.248/1.248, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6851/0.6851, allocations: 115.1 MB / 406.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001263, allocations: 67.91 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3286, allocations: 76.15 MB / 0.5576 GB, free: 36.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.04829/0.3769, allocations: 61.22 MB / 0.6173 GB, free: 7.215 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01676/0.3937, allocations: 12 MB / 0.6291 GB, free: 11.18 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002311/0.3961, allocations: 55.69 kB / 0.6291 GB, free: 11.12 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001928/0.3981, allocations: 0.6791 MB / 0.6298 GB, free: 10.44 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005307/0.4034, allocations: 1.974 MB / 0.6317 GB, free: 8.457 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002968/0.4064, allocations: 1.202 MB / 0.6329 GB, free: 7.266 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004113/0.4105, allocations: 3.108 MB / 0.6359 GB, free: 4.152 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001586/0.4121, allocations: 1.106 MB / 0.637 GB, free: 3.012 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002896/0.415, allocations: 1.342 MB / 0.6383 GB, free: 1.668 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001323/0.4163, allocations: 0.9074 MB / 0.6392 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001834/0.4165, allocations: 116 kB / 0.6393 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00264/0.4192, allocations: 1.45 MB / 0.6407 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00029/0.4195, allocations: 298.8 kB / 0.641 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007477/0.4202, allocations: 0.6958 MB / 0.6417 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003101/0.4234, allocations: 2.313 MB / 0.6439 GB, free: 11.88 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4234, allocations: 4 kB / 0.6439 GB, free: 11.88 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4234, allocations: 0 / 0.6439 GB, free: 11.88 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.78e-05/0.4234, allocations: 0 / 0.6439 GB, free: 11.88 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002871/0.4263, allocations: 1.742 MB / 0.6456 GB, free: 10.08 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.4263, allocations: 12.03 kB / 0.6457 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001968/0.4283, allocations: 414.8 kB / 0.646 GB, free: 9.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002198/0.4305, allocations: 1.175 MB / 0.6472 GB, free: 8.426 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.559e-05/0.4306, allocations: 62 kB / 0.6473 GB, free: 8.367 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.4307, allocations: 84 kB / 0.6473 GB, free: 8.285 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.4326, allocations: 1.021 MB / 0.6483 GB, free: 7.203 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.4326, allocations: 4 kB / 0.6483 GB, free: 7.199 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.129e-05/0.4327, allocations: 32 kB / 0.6484 GB, free: 7.168 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/0.4328, allocations: 20 kB / 0.6484 GB, free: 7.148 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002178/0.4349, allocations: 0.8859 MB / 0.6493 GB, free: 6.266 MB / 494.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.006553/0.4415, allocations: 5.245 MB / 0.6544 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003087/0.4446, allocations: 0.792 MB / 0.6551 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007244/0.4453, allocations: 308.6 kB / 0.6554 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006493/0.446, allocations: 0.9064 MB / 0.6563 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.4461, allocations: 46.39 kB / 0.6564 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 2.445e-06/0.4461, allocations: 0 / 0.6564 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.007669/0.4537, allocations: 1.888 MB / 0.6582 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.4538, allocations: 59.41 kB / 0.6583 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/0.4554, allocations: 1.08 MB / 0.6593 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.224e-05/0.4555, allocations: 37.7 kB / 0.6594 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003951/0.4559, allocations: 0.5312 MB / 0.6599 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.456, allocations: 161.7 kB / 0.66 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002331/0.4563, allocations: 134.2 kB / 0.6602 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.4564, allocations: 330 kB / 0.6605 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008691/0.4573, allocations: 323.2 kB / 0.6608 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.4583, allocations: 0.5464 MB / 0.6613 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001608/0.4599, allocations: 0.7453 MB / 0.662 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.46, allocations: 0 / 0.662 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003522/0.4635, allocations: 1.192 MB / 0.6632 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.4635, allocations: 8 kB / 0.6632 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.4635, allocations: 12.06 kB / 0.6632 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001136/0.4647, allocations: 307.6 kB / 0.6635 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005959/0.4653, allocations: 139.7 kB / 0.6637 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.4666, allocations: 0.8996 MB / 0.6645 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/0.4678, allocations: 151.2 kB / 0.6647 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.831e-05/0.4679, allocations: 35.98 kB / 0.6647 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001149/0.4691, allocations: 0.5246 MB / 0.6652 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001063/0.4702, allocations: 0.5463 MB / 0.6658 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001562/0.4717, allocations: 0.7337 MB / 0.6665 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.849e-06/0.4718, allocations: 4 kB / 0.6665 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003306/0.4751, allocations: 1.16 MB / 0.6676 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.4751, allocations: 8.062 kB / 0.6676 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.4751, allocations: 8 kB / 0.6676 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009673/0.4761, allocations: 296.6 kB / 0.6679 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005348/0.4766, allocations: 135.8 kB / 0.668 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/0.4779, allocations: 0.8973 MB / 0.6689 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.4791, allocations: 139.5 kB / 0.6691 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.397e-05/0.4791, allocations: 31.98 kB / 0.6691 GB, free: 0.8516 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (58): * Single equations (assignments): 57 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002357/0.4794, allocations: 224.1 kB / 0.6693 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/0.4796, allocations: 118.5 kB / 0.6694 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00345/0.483, allocations: 1.117 MB / 0.6705 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/0.4831, allocations: 8 kB / 0.6705 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.4831, allocations: 0 / 0.6705 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.4831, allocations: 3.984 kB / 0.6705 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004802/0.4879, allocations: 2.214 MB / 0.6727 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.4879, allocations: 4 kB / 0.6727 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00029/0.4882, allocations: 63.89 kB / 0.6727 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009393/0.4892, allocations: 298.5 kB / 0.673 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.324e-05/0.4892, allocations: 19.98 kB / 0.673 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001359/0.4906, allocations: 0.9229 MB / 0.6739 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.4906, allocations: 4.031 kB / 0.6739 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003465/0.4941, allocations: 1.201 MB / 0.6751 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004677/0.4946, allocations: 259.5 kB / 0.6754 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.4947, allocations: 12 kB / 0.6754 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007701/0.4955, allocations: 83.84 kB / 0.6755 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.983e-05/0.4956, allocations: 39.67 kB / 0.6755 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.372e-05/0.4957, allocations: 23.98 kB / 0.6755 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001175/0.4968, allocations: 0.7592 MB / 0.6763 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4968, allocations: 0 / 0.6763 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001452/0.4983, allocations: 0.5731 MB / 0.6768 GB, free: 8.73 MB / 0.5137 GB 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 (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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007325/0.499, allocations: 390.4 kB / 0.6772 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003108/0.5022, allocations: 1.169 MB / 0.6783 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.5022, allocations: 0 / 0.6783 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008762/0.5031, allocations: 366.3 kB / 0.6787 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002018/0.5051, allocations: 0.5172 MB / 0.6792 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004468/0.5096, allocations: 2.015 MB / 0.6812 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005535/0.5101, allocations: 1.069 MB / 0.6822 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007472/0.5109, allocations: 233.6 kB / 0.6824 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.5111, allocations: 83.34 kB / 0.6825 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of SimCode: time 4.41e-07/0.5111, allocations: 4 kB / 0.6825 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of Templates: time 0.03694/0.548, allocations: 25.21 MB / 0.7071 GB, free: 9.914 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)