Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.746/1.746, allocations: 288.4 MB / 303.7 MB, free: 8.141 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.0009953/0.0009955, allocations: 180.5 kB / 372.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.585/1.585, allocations: 205.4 MB / 0.631 GB, free: 9.871 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.0008053/0.0008053, allocations: 90.34 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003799/0.00038, allocations: 13.28 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2292, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.08196/0.3112, allocations: 56.55 MB / 1.035 GB, free: 2.629 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0304/0.3417, allocations: 11.14 MB / 1.046 GB, free: 7.473 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003308/0.345, allocations: 51.62 kB / 1.046 GB, free: 7.422 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003261/0.3483, allocations: 456.9 kB / 1.047 GB, free: 6.973 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01043/0.3588, allocations: 1.629 MB / 1.048 GB, free: 5.336 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.005754/0.3646, allocations: 0.8793 MB / 1.049 GB, free: 4.469 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.008448/0.3731, allocations: 3.433 MB / 1.053 GB, free: 1.023 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002966/0.3761, allocations: 0.9148 MB / 1.053 GB, free: 76 kB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004705/0.3809, allocations: 1.093 MB / 1.054 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00269/0.3836, allocations: 0.8166 MB / 1.055 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003861/0.384, allocations: 44 kB / 1.055 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005076/0.3891, allocations: 1.267 MB / 1.057 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005884/0.3898, allocations: 210.9 kB / 1.057 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001723/0.3915, allocations: 0.6042 MB / 1.057 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004379/0.3959, allocations: 1.707 MB / 1.059 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.798e-06/0.396, allocations: 0 / 1.059 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.096e-06/0.396, allocations: 0 / 1.059 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.001e-05/0.3961, allocations: 0 / 1.059 GB, free: 10.31 MB / 0.6823 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.00555/0.4016, allocations: 1.497 MB / 1.06 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.4017, allocations: 8.031 kB / 1.06 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004796/0.4065, allocations: 0.5182 MB / 1.061 GB, free: 8.23 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004447/0.411, allocations: 1.14 MB / 1.062 GB, free: 7.031 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007043/0.4118, allocations: 129.9 kB / 1.062 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003459/0.4121, allocations: 80 kB / 1.062 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004476/0.4166, allocations: 1.029 MB / 1.063 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.294e-05/0.4167, allocations: 0 / 1.063 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/0.4169, allocations: 39.94 kB / 1.063 GB, free: 5.727 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.385e-05/0.4169, allocations: 20 kB / 1.063 GB, free: 5.707 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005338/0.4223, allocations: 1.007 MB / 1.064 GB, free: 4.699 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.4267/0.849, allocations: 4.714 MB / 1.069 GB, free: 90.43 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00466/0.8537, allocations: 1.122 MB / 1.07 GB, free: 90.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/0.8549, allocations: 438.5 kB / 1.07 GB, free: 90.39 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008277/0.8557, allocations: 1.027 MB / 1.071 GB, free: 89.27 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.8557, allocations: 41.58 kB / 1.072 GB, free: 89.23 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=53): time 3.567e-06/0.8558, allocations: 3.469 kB / 1.072 GB, free: 89.23 MB / 0.6823 GB Notification: Performance of matching and sorting (n=53): time 0.01032/0.8661, allocations: 2.498 MB / 1.074 GB, free: 88.91 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.8662, allocations: 56.88 kB / 1.074 GB, free: 88.84 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/0.8677, allocations: 0.9298 MB / 1.075 GB, free: 88.45 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.8678, allocations: 38.95 kB / 1.075 GB, free: 88.41 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003927/0.8682, allocations: 0.5115 MB / 1.075 GB, free: 88.11 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001658/0.8684, allocations: 182.8 kB / 1.076 GB, free: 87.99 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.8684, allocations: 10.41 kB / 1.076 GB, free: 87.98 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.338e-05/0.8685, allocations: 326.2 kB / 1.076 GB, free: 87.67 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/0.8697, allocations: 375 kB / 1.076 GB, free: 87.57 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.8709, allocations: 0.5435 MB / 1.077 GB, free: 87.28 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002177/0.8731, allocations: 0.819 MB / 1.078 GB, free: 86.95 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.8731, allocations: 0 / 1.078 GB, free: 86.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003239/0.8764, allocations: 1.13 MB / 1.079 GB, free: 86.56 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.923e-05/0.8765, allocations: 162.3 kB / 1.079 GB, free: 86.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.8765, allocations: 2.469 kB / 1.079 GB, free: 86.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001552/0.8781, allocations: 332 kB / 1.079 GB, free: 86.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007835/0.8789, allocations: 146.9 kB / 1.079 GB, free: 86.28 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001717/0.8806, allocations: 0.9335 MB / 1.08 GB, free: 85.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/0.8822, allocations: 170.7 kB / 1.08 GB, free: 85.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.8823, allocations: 32.66 kB / 1.08 GB, free: 85.57 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.8823, allocations: 6.5 kB / 1.08 GB, free: 85.57 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002935/0.8852, allocations: 1.001 MB / 1.081 GB, free: 85.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.8853, allocations: 6.312 kB / 1.081 GB, free: 85.24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/0.8864, allocations: 326.3 kB / 1.082 GB, free: 85.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006808/0.8871, allocations: 142.4 kB / 1.082 GB, free: 85.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.8885, allocations: 0.9274 MB / 1.083 GB, free: 84.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/0.8899, allocations: 170.2 kB / 1.083 GB, free: 84.45 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.74e-05/0.89, allocations: 28.69 kB / 1.083 GB, free: 84.45 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.0005885/0.8906, allocations: 354.5 kB / 1.083 GB, free: 84.16 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001987/0.8908, allocations: 113.2 kB / 1.083 GB, free: 84.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00478/0.8956, allocations: 1.434 MB / 1.085 GB, free: 83.66 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.771e-05/0.8956, allocations: 10.86 kB / 1.085 GB, free: 83.66 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.8956, allocations: 1.469 kB / 1.085 GB, free: 83.66 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.8957, allocations: 7.172 kB / 1.085 GB, free: 83.66 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006308/0.902, allocations: 2.518 MB / 1.087 GB, free: 82.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.902, allocations: 5.438 kB / 1.087 GB, free: 82.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005556/0.9026, allocations: 110.3 kB / 1.087 GB, free: 82.58 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001109/0.9037, allocations: 327.3 kB / 1.088 GB, free: 82.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.755e-05/0.9038, allocations: 19.23 kB / 1.088 GB, free: 82.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001433/0.9052, allocations: 0.9732 MB / 1.089 GB, free: 81.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.9052, allocations: 6.406 kB / 1.089 GB, free: 81.81 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004483/0.9097, allocations: 1.446 MB / 1.09 GB, free: 81.25 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000623/0.9104, allocations: 298.7 kB / 1.09 GB, free: 81.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.9105, allocations: 8.625 kB / 1.09 GB, free: 81.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009058/0.9114, allocations: 128.9 kB / 1.091 GB, free: 81 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.9115, allocations: 41.47 kB / 1.091 GB, free: 80.99 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.692e-05/0.9116, allocations: 24.98 kB / 1.091 GB, free: 80.99 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008763/0.9125, allocations: 0.6523 MB / 1.091 GB, free: 80.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9125, allocations: 0 / 1.091 GB, free: 80.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001703/0.9142, allocations: 0.5707 MB / 1.092 GB, free: 80.6 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.0009058/0.9151, allocations: 391.5 kB / 1.092 GB, free: 80.46 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004019/0.9191, allocations: 1.388 MB / 1.094 GB, free: 80.07 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.9191, allocations: 1 kB / 1.094 GB, free: 80.07 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001325/0.9205, allocations: 486.4 kB / 1.094 GB, free: 79.94 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002931/0.9234, allocations: 0.5031 MB / 1.094 GB, free: 79.81 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004112/0.9276, allocations: 2.333 MB / 1.097 GB, free: 78.51 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005902/0.9282, allocations: 1.073 MB / 1.098 GB, free: 77.77 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001175/0.9293, allocations: 238.5 kB / 1.098 GB, free: 77.71 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/0.9296, allocations: 77.66 kB / 1.098 GB, free: 77.71 MB / 0.6823 GB Notification: Performance of SimCode: time 1.322e-06/0.9296, allocations: 1.125 kB / 1.098 GB, free: 77.71 MB / 0.6823 GB Notification: Performance of Templates: time 0.03599/0.9656, allocations: 23.55 MB / 1.121 GB, free: 65.16 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)