Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.727/2.727, allocations: 287.3 MB / 302.3 MB, free: 8.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002288/0.002288, allocations: 190.9 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.162/2.162, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001127/0.001126, allocations: 96.92 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005048/0.0005048, allocations: 17.12 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2192, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.07286/0.2921, allocations: 51.35 MB / 1.028 GB, free: 8.926 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02246/0.3146, allocations: 10.23 MB / 1.038 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002267/0.317, allocations: 47.62 kB / 1.038 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003268/0.3203, allocations: 0.6258 MB / 1.039 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.008732/0.3291, allocations: 1.91 MB / 1.041 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.006182/0.3353, allocations: 1.317 MB / 1.042 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005178/0.3405, allocations: 1.864 MB / 1.044 GB, free: 8.934 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002173/0.3427, allocations: 0.8225 MB / 1.045 GB, free: 8.09 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003537/0.3463, allocations: 0.9847 MB / 1.046 GB, free: 7.102 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001879/0.3482, allocations: 0.6183 MB / 1.046 GB, free: 6.48 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0003776/0.3487, allocations: 40 kB / 1.046 GB, free: 6.441 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003944/0.3526, allocations: 0.9907 MB / 1.047 GB, free: 5.449 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0005821/0.3533, allocations: 207.1 kB / 1.048 GB, free: 5.246 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0007055/0.354, allocations: 277.1 kB / 1.048 GB, free: 4.969 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.004049/0.3581, allocations: 1.602 MB / 1.049 GB, free: 3.363 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.3581, allocations: 0 / 1.049 GB, free: 3.363 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3581, allocations: 0 / 1.049 GB, free: 3.363 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.702e-05/0.3582, allocations: 4 kB / 1.049 GB, free: 3.359 MB / 0.6667 GB 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.004777/0.363, allocations: 1.485 MB / 1.051 GB, free: 1.816 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.363, allocations: 8.031 kB / 1.051 GB, free: 1.809 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004673/0.3677, allocations: 0.5212 MB / 1.051 GB, free: 1.285 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003403/0.3712, allocations: 1.063 MB / 1.052 GB, free: 168 kB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006934/0.3719, allocations: 129.9 kB / 1.052 GB, free: 40 kB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003127/0.3722, allocations: 87.98 kB / 1.053 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004442/0.3767, allocations: 1.021 MB / 1.054 GB, free: 14.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.677e-05/0.3768, allocations: 7.938 kB / 1.054 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002345/0.3771, allocations: 28 kB / 1.054 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.096e-05/0.3771, allocations: 20 kB / 1.054 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008521/0.3857, allocations: 1.003 MB / 1.055 GB, free: 13.84 MB / 0.6823 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.01286/0.3986, allocations: 4.739 MB / 1.059 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007918/0.4066, allocations: 1.129 MB / 1.06 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001598/0.4082, allocations: 1.025 MB / 1.061 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.78e-05/0.4083, allocations: 42.94 kB / 1.061 GB, free: 6.32 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=53): time 3.045e-06/0.4083, allocations: 0 / 1.061 GB, free: 6.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=53): time 0.01864/0.427, allocations: 2.49 MB / 1.064 GB, free: 3.801 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.4271, allocations: 59.78 kB / 1.064 GB, free: 3.73 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002168/0.4293, allocations: 0.9471 MB / 1.065 GB, free: 2.766 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001903/0.4295, allocations: 37.7 kB / 1.065 GB, free: 2.723 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006507/0.4301, allocations: 0.5079 MB / 1.065 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000318/0.4305, allocations: 185.3 kB / 1.065 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.808e-05/0.4306, allocations: 12 kB / 1.065 GB, free: 2.016 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.4308, allocations: 326 kB / 1.066 GB, free: 1.691 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002065/0.4328, allocations: 376.9 kB / 1.066 GB, free: 1.32 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002261/0.4351, allocations: 0.5396 MB / 1.067 GB, free: 0.7227 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002069/0.4372, allocations: 397.9 kB / 1.067 GB, free: 340 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.4373, allocations: 3.938 kB / 1.067 GB, free: 336 kB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.6308/1.068, allocations: 1.119 MB / 1.068 GB, free: 90.46 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002509/1.068, allocations: 0.9694 MB / 1.069 GB, free: 89.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/1.068, allocations: 1.875 kB / 1.069 GB, free: 89.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002258/1.071, allocations: 331.6 kB / 1.069 GB, free: 89.46 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/1.072, allocations: 142.8 kB / 1.07 GB, free: 89.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002434/1.074, allocations: 0.9344 MB / 1.07 GB, free: 88.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002129/1.077, allocations: 173.5 kB / 1.071 GB, free: 88.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/1.077, allocations: 36.62 kB / 1.071 GB, free: 88.93 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/1.077, allocations: 4.656 kB / 1.071 GB, free: 88.93 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005012/1.082, allocations: 0.9991 MB / 1.072 GB, free: 88.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/1.082, allocations: 3.75 kB / 1.072 GB, free: 88.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00195/1.084, allocations: 317.2 kB / 1.072 GB, free: 88.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/1.085, allocations: 145.8 kB / 1.072 GB, free: 88.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002365/1.088, allocations: 0.9299 MB / 1.073 GB, free: 88.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002116/1.09, allocations: 181.5 kB / 1.073 GB, free: 88.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/1.09, allocations: 29.23 kB / 1.073 GB, free: 88.01 MB / 0.6823 GB 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.0007155/1.091, allocations: 352.9 kB / 1.074 GB, free: 87.73 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002732/1.091, allocations: 106.6 kB / 1.074 GB, free: 87.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009569/1.1, allocations: 1.442 MB / 1.075 GB, free: 87.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.532e-05/1.101, allocations: 6.875 kB / 1.075 GB, free: 87.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.517e-05/1.101, allocations: 0.8438 kB / 1.075 GB, free: 87.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.699e-05/1.101, allocations: 3.281 kB / 1.075 GB, free: 87.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01667/1.117, allocations: 2.545 MB / 1.078 GB, free: 86.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.442e-05/1.117, allocations: 3.281 kB / 1.078 GB, free: 86.24 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001648/1.119, allocations: 113.5 kB / 1.078 GB, free: 86.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002781/1.122, allocations: 326 kB / 1.078 GB, free: 86.16 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000161/1.122, allocations: 18.72 kB / 1.078 GB, free: 86.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003443/1.126, allocations: 0.9675 MB / 1.079 GB, free: 85.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.246e-06/1.126, allocations: 6.062 kB / 1.079 GB, free: 85.47 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0107/1.136, allocations: 1.527 MB / 1.08 GB, free: 84.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/1.138, allocations: 297.8 kB / 1.081 GB, free: 84.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003475/1.138, allocations: 13.47 kB / 1.081 GB, free: 84.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002726/1.141, allocations: 133.1 kB / 1.081 GB, free: 84.56 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002493/1.141, allocations: 35.89 kB / 1.081 GB, free: 84.56 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001708/1.141, allocations: 29.08 kB / 1.081 GB, free: 84.55 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002202/1.143, allocations: 0.6656 MB / 1.082 GB, free: 84.25 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.132e-06/1.143, allocations: 0.6562 kB / 1.082 GB, free: 84.25 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003557/1.147, allocations: 0.576 MB / 1.082 GB, free: 84.16 MB / 0.6823 GB 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.001489/1.149, allocations: 388.3 kB / 1.083 GB, free: 84.02 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007584/1.156, allocations: 1.383 MB / 1.084 GB, free: 83.64 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/1.156, allocations: 0 / 1.084 GB, free: 83.64 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002326/1.159, allocations: 492.1 kB / 1.084 GB, free: 83.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004487/1.163, allocations: 0.5016 MB / 1.085 GB, free: 83.38 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006618/1.17, allocations: 2.323 MB / 1.087 GB, free: 82.09 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007932/1.171, allocations: 1.091 MB / 1.088 GB, free: 81.35 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00201/1.173, allocations: 233.8 kB / 1.088 GB, free: 81.29 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004311/1.173, allocations: 83.34 kB / 1.088 GB, free: 81.28 MB / 0.6823 GB Notification: Performance of SimCode: time 8.71e-07/1.173, allocations: 0 / 1.088 GB, free: 81.28 MB / 0.6823 GB Notification: Performance of Templates: time 0.08608/1.259, allocations: 23.52 MB / 1.111 GB, free: 72.07 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)