Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009325/0.0009325, allocations: 96.97 kB / 15.69 MB, free: 480 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.001007/0.001007, allocations: 174.6 kB / 16.57 MB, free: 6.395 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.314/1.314, allocations: 223.2 MB / 240.5 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6718/0.6718, allocations: 113.8 MB / 405.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002913/0.0002914, allocations: 15.98 kB / 493.1 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1417, allocations: 77.15 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.315/0.4568, allocations: 51.26 MB / 0.6069 GB, free: 8.371 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01444/0.4713, allocations: 10.32 MB / 0.617 GB, free: 1.047 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002124/0.4734, allocations: 46.38 kB / 0.617 GB, free: 1.027 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002154/0.4756, allocations: 0.6278 MB / 0.6176 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006221/0.4818, allocations: 1.954 MB / 0.6195 GB, free: 15.4 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003823/0.4857, allocations: 1.314 MB / 0.6208 GB, free: 14.77 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003344/0.489, allocations: 1.851 MB / 0.6226 GB, free: 13.76 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.4903, allocations: 0.8399 MB / 0.6235 GB, free: 13.42 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002083/0.4924, allocations: 0.9791 MB / 0.6244 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.4935, allocations: 0.6243 MB / 0.625 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001234/0.4936, allocations: 43.06 kB / 0.6251 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002361/0.496, allocations: 0.9844 MB / 0.626 GB, free: 12.38 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002315/0.4962, allocations: 202.2 kB / 0.6262 GB, free: 12.26 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003395/0.4966, allocations: 282.7 kB / 0.6265 GB, free: 12.1 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001966/0.4986, allocations: 1.591 MB / 0.628 GB, free: 11.04 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.4986, allocations: 1.375 kB / 0.628 GB, free: 11.04 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4986, allocations: 0 / 0.628 GB, free: 11.04 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.699e-05/0.4986, allocations: 0 / 0.628 GB, free: 11.04 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002775/0.5014, allocations: 1.496 MB / 0.6295 GB, free: 9.879 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.5014, allocations: 8.844 kB / 0.6295 GB, free: 9.879 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002631/0.5041, allocations: 0.5142 MB / 0.63 GB, free: 9.664 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001972/0.506, allocations: 1.054 MB / 0.631 GB, free: 8.805 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004028/0.5065, allocations: 139.4 kB / 0.6312 GB, free: 8.746 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.5066, allocations: 80.16 kB / 0.6312 GB, free: 8.723 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002205/0.5088, allocations: 1.029 MB / 0.6323 GB, free: 8.09 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.5088, allocations: 1.375 kB / 0.6323 GB, free: 8.09 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.259e-05/0.5089, allocations: 30.38 kB / 0.6323 GB, free: 8.066 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.509, allocations: 20 kB / 0.6323 GB, free: 8.066 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002645/0.5116, allocations: 1.008 MB / 0.6333 GB, free: 7.594 MB / 462.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.006248/0.5179, allocations: 4.737 MB / 0.6379 GB, free: 3.43 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004244/0.5221, allocations: 1.123 MB / 0.639 GB, free: 2.918 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009717/0.5231, allocations: 1.031 MB / 0.64 GB, free: 1.738 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.5232, allocations: 42.2 kB / 0.6401 GB, free: 1.691 MB / 462.1 MB Notification: Performance of pre-optimization done (n=53): time 2.324e-06/0.5232, allocations: 0 / 0.6401 GB, free: 1.691 MB / 462.1 MB Notification: Performance of matching and sorting (n=53): time 0.009845/0.533, allocations: 2.488 MB / 0.6425 GB, free: 0.543 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.5331, allocations: 59.27 kB / 0.6425 GB, free: 488 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/0.5343, allocations: 0.9418 MB / 0.6435 GB, free: 15.94 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.562e-05/0.5343, allocations: 38.83 kB / 0.6435 GB, free: 15.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003802/0.5347, allocations: 0.5046 MB / 0.644 GB, free: 15.45 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.5349, allocations: 177.1 kB / 0.6442 GB, free: 15.3 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.5349, allocations: 8 kB / 0.6442 GB, free: 15.29 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.535, allocations: 327.2 kB / 0.6445 GB, free: 14.97 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.5361, allocations: 380.4 kB / 0.6448 GB, free: 14.8 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.5373, allocations: 0.5432 MB / 0.6454 GB, free: 14.32 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.5384, allocations: 409.9 kB / 0.6458 GB, free: 13.92 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.5384, allocations: 0 / 0.6458 GB, free: 13.92 MB / 478.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002934/0.5414, allocations: 1.123 MB / 0.6469 GB, free: 12.79 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003163/0.5417, allocations: 0.9727 MB / 0.6478 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.5417, allocations: 3.984 kB / 0.6478 GB, free: 11.74 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/0.543, allocations: 329.2 kB / 0.6481 GB, free: 11.42 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006626/0.5437, allocations: 139.8 kB / 0.6483 GB, free: 11.28 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/0.5451, allocations: 0.9473 MB / 0.6492 GB, free: 10.31 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.5464, allocations: 176.3 kB / 0.6494 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.401e-05/0.5465, allocations: 31.98 kB / 0.6494 GB, free: 10.11 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.745e-06/0.5465, allocations: 0 / 0.6494 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002715/0.5492, allocations: 1.002 MB / 0.6504 GB, free: 9.102 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.5492, allocations: 4 kB / 0.6504 GB, free: 9.098 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/0.5504, allocations: 321.2 kB / 0.6507 GB, free: 8.781 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006387/0.551, allocations: 143.8 kB / 0.6508 GB, free: 8.641 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.5524, allocations: 0.9437 MB / 0.6517 GB, free: 7.672 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.5536, allocations: 159.5 kB / 0.6519 GB, free: 7.516 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.588e-05/0.5537, allocations: 27.98 kB / 0.6519 GB, free: 7.488 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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.0005/0.5542, allocations: 349 kB / 0.6522 GB, free: 7.137 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001717/0.5544, allocations: 110.7 kB / 0.6524 GB, free: 7.027 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004713/0.5591, allocations: 1.439 MB / 0.6538 GB, free: 5.59 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.5592, allocations: 4 kB / 0.6538 GB, free: 5.586 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.5592, allocations: 0 / 0.6538 GB, free: 5.586 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.5592, allocations: 3.984 kB / 0.6538 GB, free: 5.582 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006114/0.5653, allocations: 2.541 MB / 0.6562 GB, free: 2.961 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.5653, allocations: 4 kB / 0.6562 GB, free: 2.957 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005841/0.5659, allocations: 120 kB / 0.6564 GB, free: 2.84 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001078/0.567, allocations: 327 kB / 0.6567 GB, free: 2.52 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.267e-05/0.5671, allocations: 19.98 kB / 0.6567 GB, free: 2.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001472/0.5686, allocations: 0.962 MB / 0.6576 GB, free: 1.512 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5686, allocations: 4.031 kB / 0.6576 GB, free: 1.508 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004455/0.573, allocations: 1.53 MB / 0.6591 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005917/0.5736, allocations: 299.4 kB / 0.6594 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/0.5738, allocations: 15.94 kB / 0.6594 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.5748, allocations: 127.8 kB / 0.6596 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.974e-05/0.5749, allocations: 44.33 kB / 0.6596 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.093e-05/0.575, allocations: 27.92 kB / 0.6596 GB, free: 15.39 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000875/0.5759, allocations: 0.6596 MB / 0.6603 GB, free: 14.72 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5759, allocations: 0 / 0.6603 GB, free: 14.72 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001557/0.5774, allocations: 0.573 MB / 0.6608 GB, free: 14.14 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0007467/0.5782, allocations: 385 kB / 0.6612 GB, free: 13.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003904/0.5821, allocations: 1.393 MB / 0.6626 GB, free: 12.37 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.5821, allocations: 4 kB / 0.6626 GB, free: 12.37 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001305/0.5835, allocations: 488.8 kB / 0.663 GB, free: 11.89 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002457/0.5859, allocations: 496.6 kB / 0.6635 GB, free: 11.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004381/0.5903, allocations: 2.313 MB / 0.6658 GB, free: 9.047 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006516/0.591, allocations: 1.098 MB / 0.6668 GB, free: 7.922 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001114/0.5921, allocations: 239.7 kB / 0.6671 GB, free: 7.688 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002346/0.5924, allocations: 83.41 kB / 0.6671 GB, free: 7.605 MB / 494.1 MB Notification: Performance of SimCode: time 4.71e-07/0.5924, allocations: 0 / 0.6671 GB, free: 7.605 MB / 494.1 MB Notification: Performance of Templates: time 0.03639/0.6288, allocations: 23.31 MB / 0.6899 GB, free: 0.5898 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)