Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Examples_Carnot_TCon",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Examples_Carnot_TCon",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.559/1.559, allocations: 287.4 MB / 302.6 MB, free: 8.277 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.0008846/0.0008846, allocations: 182.8 kB / 371.1 MB, free: 10.84 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.449/1.449, allocations: 205.4 MB / 0.6298 GB, free: 10.58 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.0007849/0.0007848, allocations: 89.05 kB / 0.7431 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003856/0.0003857, allocations: 15.83 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2011, allocations: 115.3 MB / 0.9787 GB, free: 28.13 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.0446/0.2457, allocations: 56.53 MB / 1.034 GB, free: 3.441 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01684/0.2626, allocations: 11.13 MB / 1.045 GB, free: 8.289 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002267/0.265, allocations: 51.62 kB / 1.045 GB, free: 8.238 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001816/0.2668, allocations: 468.9 kB / 1.045 GB, free: 7.777 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.005498/0.2723, allocations: 1.521 MB / 1.047 GB, free: 6.25 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003072/0.2754, allocations: 0.8719 MB / 1.048 GB, free: 5.387 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.00518/0.2806, allocations: 3.426 MB / 1.051 GB, free: 1.949 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001611/0.2822, allocations: 0.8825 MB / 1.052 GB, free: 1.035 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002519/0.2847, allocations: 1.042 MB / 1.053 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001384/0.2861, allocations: 0.8166 MB / 1.054 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.2863, allocations: 44 kB / 1.054 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002638/0.2889, allocations: 1.091 MB / 1.055 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002605/0.2892, allocations: 203 kB / 1.055 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000415/0.2896, allocations: 285 kB / 1.055 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002163/0.2918, allocations: 1.637 MB / 1.057 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.2918, allocations: 4 kB / 1.057 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.685e-06/0.2918, allocations: 0 / 1.057 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.567e-05/0.2919, allocations: 0 / 1.057 GB, free: 11.9 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00302/0.2949, allocations: 1.493 MB / 1.058 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.2949, allocations: 8.031 kB / 1.058 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001629/0.2951, allocations: 122.9 kB / 1.058 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002077/0.2972, allocations: 486.5 kB / 1.059 GB, free: 9.738 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002233/0.2994, allocations: 1.132 MB / 1.06 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003369/0.2998, allocations: 125.9 kB / 1.06 GB, free: 8.426 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.2999, allocations: 80 kB / 1.06 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002046/0.302, allocations: 0.9995 MB / 1.061 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.302, allocations: 4 kB / 1.061 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-05/0.3021, allocations: 32 kB / 1.061 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.3021, allocations: 16 kB / 1.061 GB, free: 7.258 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002393/0.3045, allocations: 0.9328 MB / 1.062 GB, free: 6.328 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.006782/0.3113, allocations: 4.627 MB / 1.067 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003437/0.3148, allocations: 0.9406 MB / 1.068 GB, free: 448 kB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007746/0.3156, allocations: 344.3 kB / 1.068 GB, free: 104 kB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4573/0.7729, allocations: 0.8988 MB / 1.069 GB, free: 90.27 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.282e-05/0.773, allocations: 41 kB / 1.069 GB, free: 90.23 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 2.915e-06/0.773, allocations: 0 / 1.069 GB, free: 90.23 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.008518/0.7815, allocations: 2.014 MB / 1.071 GB, free: 90.08 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.7816, allocations: 57.22 kB / 1.071 GB, free: 90.02 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001828/0.7834, allocations: 1.053 MB / 1.072 GB, free: 89.77 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.66e-05/0.7835, allocations: 34.17 kB / 1.072 GB, free: 89.73 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004009/0.7839, allocations: 0.5239 MB / 1.072 GB, free: 89.43 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.784, allocations: 168.6 kB / 1.073 GB, free: 89.33 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/0.7841, allocations: 12.25 kB / 1.073 GB, free: 89.32 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.529e-05/0.7841, allocations: 325.3 kB / 1.073 GB, free: 89.01 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009545/0.7851, allocations: 333.8 kB / 1.073 GB, free: 88.93 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/0.7862, allocations: 0.5345 MB / 1.074 GB, free: 88.61 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001721/0.7879, allocations: 0.7334 MB / 1.074 GB, free: 88.28 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.788, allocations: 1.094 kB / 1.074 GB, free: 88.28 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003831/0.7918, allocations: 1.222 MB / 1.076 GB, free: 87.93 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/0.7919, allocations: 205.3 kB / 1.076 GB, free: 87.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.7919, allocations: 6.938 kB / 1.076 GB, free: 87.69 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/0.7932, allocations: 332.4 kB / 1.076 GB, free: 87.61 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005969/0.7938, allocations: 137.4 kB / 1.076 GB, free: 87.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001453/0.7953, allocations: 0.937 MB / 1.077 GB, free: 86.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.7967, allocations: 200.9 kB / 1.077 GB, free: 86.87 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.608e-05/0.7968, allocations: 30.16 kB / 1.077 GB, free: 86.87 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.7968, allocations: 4.656 kB / 1.077 GB, free: 86.87 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003373/0.8002, allocations: 1.089 MB / 1.078 GB, free: 86.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.8002, allocations: 3.438 kB / 1.078 GB, free: 86.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00116/0.8014, allocations: 326.2 kB / 1.079 GB, free: 86.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005756/0.8019, allocations: 133.3 kB / 1.079 GB, free: 86.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001379/0.8033, allocations: 0.9337 MB / 1.08 GB, free: 85.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.8046, allocations: 172.1 kB / 1.08 GB, free: 85.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.721e-05/0.8047, allocations: 29.56 kB / 1.08 GB, free: 85.75 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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.0006053/0.8053, allocations: 354.1 kB / 1.08 GB, free: 85.46 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001933/0.8055, allocations: 115.7 kB / 1.08 GB, free: 85.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004001/0.8095, allocations: 1.239 MB / 1.082 GB, free: 85.02 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/0.8096, allocations: 6.719 kB / 1.082 GB, free: 85.02 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.8096, allocations: 0 / 1.082 GB, free: 85.02 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.8096, allocations: 3.984 kB / 1.082 GB, free: 85.02 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005464/0.8151, allocations: 2.322 MB / 1.084 GB, free: 83.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.8151, allocations: 2.75 kB / 1.084 GB, free: 83.99 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003223/0.8154, allocations: 73.12 kB / 1.084 GB, free: 83.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001095/0.8165, allocations: 328.3 kB / 1.084 GB, free: 83.91 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.449e-05/0.8166, allocations: 16.78 kB / 1.084 GB, free: 83.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001383/0.818, allocations: 0.9642 MB / 1.085 GB, free: 83.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.818, allocations: 15.38 kB / 1.085 GB, free: 83.22 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00459/0.8226, allocations: 1.457 MB / 1.087 GB, free: 82.65 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006616/0.8233, allocations: 284.7 kB / 1.087 GB, free: 82.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/0.8234, allocations: 14.81 kB / 1.087 GB, free: 82.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000858/0.8243, allocations: 113.9 kB / 1.087 GB, free: 82.41 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.945e-05/0.8244, allocations: 37.44 kB / 1.087 GB, free: 82.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.725e-05/0.8245, allocations: 25.08 kB / 1.087 GB, free: 82.39 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001254/0.8257, allocations: 0.7342 MB / 1.088 GB, free: 82.08 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8257, allocations: 0.875 kB / 1.088 GB, free: 82.08 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001651/0.8274, allocations: 0.5563 MB / 1.088 GB, free: 81.99 MB / 0.6823 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 (37): * Single equations (assignments): 32 * 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.004591/0.832, allocations: 2.128 MB / 1.091 GB, free: 80.87 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003392/0.8354, allocations: 1.206 MB / 1.092 GB, free: 80.54 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.8354, allocations: 0 / 1.092 GB, free: 80.54 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009688/0.8364, allocations: 390.8 kB / 1.092 GB, free: 80.43 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003073/0.8395, allocations: 0.5235 MB / 1.093 GB, free: 80.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01549/0.855, allocations: 6.925 MB / 1.099 GB, free: 76.84 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006682/0.8557, allocations: 1.065 MB / 1.1 GB, free: 76.12 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001286/0.857, allocations: 230.9 kB / 1.101 GB, free: 76.06 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005074/0.8575, allocations: 413.2 kB / 1.101 GB, free: 75.76 MB / 0.6823 GB Notification: Performance of SimCode: time 7.31e-07/0.8575, allocations: 0 / 1.101 GB, free: 75.76 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9196/1.777, allocations: 34.34 MB / 1.135 GB, free: 51.36 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000254/1.777, allocations: 248.5 kB / 1.135 GB, free: 51.11 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.949/4.726, allocations: 0 / 1.135 GB, free: 51.11 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Examples_Carnot_TCon_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Examples_Carnot_TCon.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)