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 2.631/2.631, allocations: 287.3 MB / 302.3 MB, free: 8.395 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.001541/0.001541, allocations: 182.1 kB / 370.8 MB, free: 10.87 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.24/2.24, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001161/0.001161, allocations: 89.3 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007632/0.0007635, allocations: 12.66 kB / 0.8657 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2591, allocations: 115.3 MB / 0.9783 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.0953/0.3544, allocations: 51.32 MB / 1.028 GB, free: 8.879 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03618/0.3907, allocations: 10.23 MB / 1.038 GB, free: 14.63 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002692/0.3934, allocations: 47.62 kB / 1.038 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004425/0.3979, allocations: 0.6336 MB / 1.039 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01172/0.4097, allocations: 1.886 MB / 1.041 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.006279/0.416, allocations: 1.33 MB / 1.042 GB, free: 10.75 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005097/0.4211, allocations: 1.844 MB / 1.044 GB, free: 8.902 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002125/0.4233, allocations: 0.8096 MB / 1.045 GB, free: 8.07 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003458/0.4268, allocations: 0.9886 MB / 1.046 GB, free: 7.078 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001751/0.4286, allocations: 0.5988 MB / 1.046 GB, free: 6.477 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0003329/0.429, allocations: 48 kB / 1.046 GB, free: 6.43 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003799/0.4328, allocations: 0.9906 MB / 1.047 GB, free: 5.438 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0005565/0.4334, allocations: 195.1 kB / 1.048 GB, free: 5.246 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0006571/0.4341, allocations: 285.1 kB / 1.048 GB, free: 4.961 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003937/0.4381, allocations: 1.59 MB / 1.049 GB, free: 3.367 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.4381, allocations: 0 / 1.049 GB, free: 3.367 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.085e-06/0.4381, allocations: 0 / 1.049 GB, free: 3.367 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.551e-05/0.4382, allocations: 0 / 1.049 GB, free: 3.367 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.006126/0.4443, allocations: 1.485 MB / 1.051 GB, free: 1.824 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 7.411e-05/0.4444, allocations: 12.03 kB / 1.051 GB, free: 1.812 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006051/0.4451, allocations: 122.7 kB / 1.051 GB, free: 1.684 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006707/0.4518, allocations: 477.9 kB / 1.051 GB, free: 1.215 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004216/0.4561, allocations: 1.047 MB / 1.052 GB, free: 112 kB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007297/0.4569, allocations: 137.9 kB / 1.053 GB, free: 15.97 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002711/0.4572, allocations: 76 kB / 1.053 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004626/0.4618, allocations: 0.9995 MB / 1.054 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.795e-05/0.4619, allocations: 0 / 1.054 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002567/0.4622, allocations: 39.92 kB / 1.054 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-05/0.4623, allocations: 20 kB / 1.054 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004465/0.4667, allocations: 0.9251 MB / 1.055 GB, free: 13.88 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.01106/0.4778, allocations: 4.646 MB / 1.059 GB, free: 8.922 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006806/0.4847, allocations: 0.9497 MB / 1.06 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009657/0.4857, allocations: 0.9107 MB / 1.061 GB, free: 6.848 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.4858, allocations: 35 kB / 1.061 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 3.376e-06/0.4858, allocations: 0 / 1.061 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.01533/0.5011, allocations: 1.999 MB / 1.063 GB, free: 4.777 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.5012, allocations: 59.84 kB / 1.063 GB, free: 4.707 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002745/0.504, allocations: 1.075 MB / 1.064 GB, free: 3.617 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001645/0.5042, allocations: 37.7 kB / 1.064 GB, free: 3.574 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006469/0.5048, allocations: 0.5235 MB / 1.065 GB, free: 3.047 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002419/0.5051, allocations: 161.7 kB / 1.065 GB, free: 2.887 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.319e-05/0.5052, allocations: 8 kB / 1.065 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.5054, allocations: 330 kB / 1.065 GB, free: 2.551 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001783/0.5071, allocations: 336.9 kB / 1.065 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002029/0.5092, allocations: 0.5289 MB / 1.066 GB, free: 1.617 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001896/0.5111, allocations: 372.6 kB / 1.066 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/0.5112, allocations: 0 / 1.066 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00711/0.5183, allocations: 1.229 MB / 1.067 GB, free: 12 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.6125/1.131, allocations: 1.492 MB / 1.069 GB, free: 89.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.356e-05/1.131, allocations: 4.281 kB / 1.069 GB, free: 89.12 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002601/1.134, allocations: 334.1 kB / 1.069 GB, free: 89.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/1.135, allocations: 133.9 kB / 1.069 GB, free: 89.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00278/1.138, allocations: 0.9416 MB / 1.07 GB, free: 88.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002502/1.14, allocations: 197.2 kB / 1.07 GB, free: 88.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001806/1.14, allocations: 31.05 kB / 1.07 GB, free: 88.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/1.141, allocations: 3.719 kB / 1.07 GB, free: 88.59 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006548/1.147, allocations: 1.096 MB / 1.072 GB, free: 88.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/1.147, allocations: 4.781 kB / 1.072 GB, free: 88.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002029/1.149, allocations: 320 kB / 1.072 GB, free: 88.56 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/1.15, allocations: 137.6 kB / 1.072 GB, free: 88.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002522/1.153, allocations: 0.9289 MB / 1.073 GB, free: 87.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002409/1.155, allocations: 172.7 kB / 1.073 GB, free: 87.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002007/1.156, allocations: 32.41 kB / 1.073 GB, free: 87.89 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.0008041/1.156, allocations: 359.6 kB / 1.073 GB, free: 87.61 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003624/1.157, allocations: 109.1 kB / 1.074 GB, free: 87.61 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007331/1.164, allocations: 1.241 MB / 1.075 GB, free: 87.27 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.063e-05/1.164, allocations: 10.25 kB / 1.075 GB, free: 87.27 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/1.164, allocations: 5.359 kB / 1.075 GB, free: 87.27 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/1.164, allocations: 2.719 kB / 1.075 GB, free: 87.27 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009921/1.174, allocations: 2.32 MB / 1.077 GB, free: 86.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.917e-05/1.174, allocations: 5.828 kB / 1.077 GB, free: 86.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006729/1.175, allocations: 79.19 kB / 1.077 GB, free: 86.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001985/1.177, allocations: 318.4 kB / 1.077 GB, free: 86.19 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.041e-05/1.177, allocations: 17.66 kB / 1.077 GB, free: 86.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002525/1.18, allocations: 0.9742 MB / 1.078 GB, free: 85.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.635e-06/1.18, allocations: 2.438 kB / 1.078 GB, free: 85.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008795/1.189, allocations: 1.568 MB / 1.08 GB, free: 84.78 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009732/1.19, allocations: 290.7 kB / 1.08 GB, free: 84.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002597/1.19, allocations: 16.64 kB / 1.08 GB, free: 84.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001934/1.192, allocations: 110.6 kB / 1.08 GB, free: 84.55 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002075/1.192, allocations: 43.83 kB / 1.08 GB, free: 84.54 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001217/1.192, allocations: 24.42 kB / 1.08 GB, free: 84.53 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002255/1.194, allocations: 0.7515 MB / 1.081 GB, free: 84.21 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.51e-07/1.194, allocations: 0 / 1.081 GB, free: 84.21 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002856/1.197, allocations: 0.5686 MB / 1.082 GB, free: 84.12 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.009239/1.207, allocations: 2.863 MB / 1.084 GB, free: 82.24 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006269/1.213, allocations: 1.203 MB / 1.086 GB, free: 81.92 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/1.213, allocations: 1.219 kB / 1.086 GB, free: 81.92 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001848/1.215, allocations: 395.3 kB / 1.086 GB, free: 81.81 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004576/1.219, allocations: 0.5143 MB / 1.087 GB, free: 81.68 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/1.231, allocations: 5.644 MB / 1.092 GB, free: 77.36 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008515/1.232, allocations: 1.089 MB / 1.093 GB, free: 76.63 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001983/1.234, allocations: 235.3 kB / 1.093 GB, free: 76.58 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009586/1.235, allocations: 415.9 kB / 1.094 GB, free: 76.27 MB / 0.6823 GB Notification: Performance of SimCode: time 1.192e-06/1.235, allocations: 0 / 1.094 GB, free: 76.27 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1005/1.336, allocations: 33.63 MB / 1.127 GB, free: 59.05 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002222/1.336, allocations: 245.6 kB / 1.127 GB, free: 58.77 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.81/5.146, allocations: 4 kB / 1.127 GB, free: 58.77 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)