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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",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 3.008/3.008, allocations: 287.3 MB / 302.3 MB, free: 8.281 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.001586/0.001586, 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.136/2.136, 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.001263/0.001262, allocations: 93.8 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004962/0.0004963, allocations: 16.5 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2217, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.08213/0.3039, allocations: 51.35 MB / 1.028 GB, free: 8.824 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02272/0.3267, allocations: 10.23 MB / 1.038 GB, free: 14.58 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002314/0.329, allocations: 43.69 kB / 1.038 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003383/0.3325, allocations: 0.6297 MB / 1.039 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.009129/0.3416, allocations: 1.906 MB / 1.041 GB, free: 12 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.006324/0.348, allocations: 1.323 MB / 1.042 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005391/0.3534, allocations: 1.859 MB / 1.044 GB, free: 8.832 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002418/0.3559, allocations: 0.8147 MB / 1.045 GB, free: 7.996 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003831/0.3598, allocations: 0.9886 MB / 1.046 GB, free: 7.004 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002054/0.3619, allocations: 0.6144 MB / 1.046 GB, free: 6.387 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0003979/0.3624, allocations: 44 kB / 1.046 GB, free: 6.344 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003957/0.3663, allocations: 0.9868 MB / 1.047 GB, free: 5.355 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0006025/0.367, allocations: 203.1 kB / 1.048 GB, free: 5.156 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0006833/0.3677, allocations: 285 kB / 1.048 GB, free: 4.871 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.004103/0.3718, allocations: 1.598 MB / 1.049 GB, free: 3.27 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3719, allocations: 0 / 1.049 GB, free: 3.27 MB / 0.6667 GB Notification: Performance of FrontEnd: time 4.047e-06/0.3719, allocations: 0 / 1.049 GB, free: 3.27 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.749e-05/0.372, allocations: 0 / 1.049 GB, free: 3.27 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.004778/0.3768, allocations: 1.485 MB / 1.051 GB, free: 1.727 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/0.3769, allocations: 11.97 kB / 1.051 GB, free: 1.715 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004076/0.3773, allocations: 126.8 kB / 1.051 GB, free: 1.582 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004673/0.382, allocations: 0.5212 MB / 1.052 GB, free: 1.059 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003436/0.3855, allocations: 1.059 MB / 1.053 GB, free: 15.94 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006872/0.3862, allocations: 133.9 kB / 1.053 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002995/0.3865, allocations: 84 kB / 1.053 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004084/0.3906, allocations: 1.029 MB / 1.054 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.412e-05/0.3907, allocations: 0 / 1.054 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000141/0.3909, allocations: 32 kB / 1.054 GB, free: 14.63 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.616e-05/0.3909, allocations: 16 kB / 1.054 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005246/0.3962, allocations: 1.003 MB / 1.055 GB, free: 13.62 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.01152/0.4077, allocations: 4.739 MB / 1.059 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008013/0.4158, allocations: 1.125 MB / 1.061 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001488/0.4173, allocations: 1.025 MB / 1.062 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.993e-05/0.4174, allocations: 43 kB / 1.062 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=53): time 3.627e-06/0.4175, allocations: 0 / 1.062 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of matching and sorting (n=53): time 0.01915/0.4366, allocations: 2.498 MB / 1.064 GB, free: 3.574 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.655e-05/0.4368, allocations: 55.84 kB / 1.064 GB, free: 3.508 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00379/0.4406, allocations: 0.9432 MB / 1.065 GB, free: 2.547 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003291/0.441, allocations: 45.58 kB / 1.065 GB, free: 2.496 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001228/0.4423, allocations: 0.504 MB / 1.066 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005454/0.4429, allocations: 189.3 kB / 1.066 GB, free: 1.801 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.4431, allocations: 12 kB / 1.066 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002513/0.4433, allocations: 326 kB / 1.066 GB, free: 1.465 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003553/0.4469, allocations: 376.9 kB / 1.066 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003759/0.4508, allocations: 0.5395 MB / 1.067 GB, free: 0.4961 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002304/0.4532, allocations: 409.9 kB / 1.067 GB, free: 96 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/0.4532, allocations: 0 / 1.067 GB, free: 96 kB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.6614/1.115, allocations: 1.119 MB / 1.068 GB, free: 90.39 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000424/1.115, allocations: 0.9725 MB / 1.069 GB, free: 89.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/1.115, allocations: 2.719 kB / 1.069 GB, free: 89.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00383/1.119, allocations: 324.1 kB / 1.07 GB, free: 89.39 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002055/1.121, allocations: 145 kB / 1.07 GB, free: 89.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004066/1.125, allocations: 0.9375 MB / 1.071 GB, free: 88.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003425/1.129, allocations: 174.2 kB / 1.071 GB, free: 88.87 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003197/1.129, allocations: 34.09 kB / 1.071 GB, free: 88.86 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/1.129, allocations: 3.469 kB / 1.071 GB, free: 88.86 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008656/1.138, allocations: 0.9993 MB / 1.072 GB, free: 88.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/1.138, allocations: 2.281 kB / 1.072 GB, free: 88.64 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003402/1.141, allocations: 326.6 kB / 1.072 GB, free: 88.58 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002065/1.144, allocations: 144.4 kB / 1.072 GB, free: 88.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003907/1.148, allocations: 0.9268 MB / 1.073 GB, free: 87.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002256/1.15, allocations: 172.1 kB / 1.073 GB, free: 87.92 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002274/1.15, allocations: 29.67 kB / 1.073 GB, free: 87.92 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.0009282/1.151, allocations: 354.5 kB / 1.074 GB, free: 87.64 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004009/1.151, allocations: 110.7 kB / 1.074 GB, free: 87.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009043/1.161, allocations: 1.446 MB / 1.075 GB, free: 87.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-05/1.161, allocations: 6.234 kB / 1.075 GB, free: 87.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.515e-05/1.161, allocations: 1.609 kB / 1.075 GB, free: 87.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-05/1.161, allocations: 2.719 kB / 1.075 GB, free: 87.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01196/1.173, allocations: 2.539 MB / 1.078 GB, free: 86.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.271e-05/1.173, allocations: 8.906 kB / 1.078 GB, free: 86.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/1.174, allocations: 117.9 kB / 1.078 GB, free: 86.13 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002091/1.176, allocations: 323.9 kB / 1.078 GB, free: 86.05 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001556/1.176, allocations: 18.34 kB / 1.078 GB, free: 86.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0026/1.179, allocations: 0.9671 MB / 1.079 GB, free: 85.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/1.179, allocations: 6.594 kB / 1.079 GB, free: 85.36 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008679/1.188, allocations: 1.528 MB / 1.081 GB, free: 84.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000965/1.189, allocations: 299.4 kB / 1.081 GB, free: 84.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003559/1.189, allocations: 12.91 kB / 1.081 GB, free: 84.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00212/1.191, allocations: 126.2 kB / 1.081 GB, free: 84.46 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002098/1.191, allocations: 39.11 kB / 1.081 GB, free: 84.45 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001438/1.192, allocations: 33.17 kB / 1.081 GB, free: 84.44 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00188/1.193, allocations: 0.6626 MB / 1.082 GB, free: 84.15 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.014e-06/1.194, allocations: 0 / 1.082 GB, free: 84.15 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002989/1.197, allocations: 0.5751 MB / 1.082 GB, free: 84.06 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.009785/1.206, allocations: 2.75 MB / 1.085 GB, free: 82.42 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007321/1.214, allocations: 1.382 MB / 1.086 GB, free: 82.04 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/1.214, allocations: 1.094 kB / 1.086 GB, free: 82.04 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002529/1.216, allocations: 491.2 kB / 1.087 GB, free: 81.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004775/1.221, allocations: 0.5065 MB / 1.087 GB, free: 81.77 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/1.232, allocations: 4.484 MB / 1.092 GB, free: 78.48 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/1.233, allocations: 1.092 MB / 1.093 GB, free: 77.75 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002215/1.235, allocations: 230.7 kB / 1.093 GB, free: 77.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/1.237, allocations: 426 kB / 1.093 GB, free: 77.38 MB / 0.6823 GB Notification: Performance of SimCode: time 1.353e-06/1.237, allocations: 0 / 1.093 GB, free: 77.38 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1206/1.357, allocations: 33.11 MB / 1.126 GB, free: 59.71 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002314/1.357, allocations: 264.9 kB / 1.126 GB, free: 59.36 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.037/5.395, allocations: 6.844 kB / 1.126 GB, free: 59.36 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)