Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Examples_Carnot_TCon",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Examples_Carnot_TCon",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001257, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.543/1.543, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.71/1.71, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005883/0.0005884, allocations: 16.81 kB / 0.6738 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2553, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05323/0.3086, allocations: 56.52 MB / 0.8426 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01581/0.3245, allocations: 11.13 MB / 0.8535 GB, free: 8.004 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002256/0.3268, allocations: 51.62 kB / 0.8535 GB, free: 7.953 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001719/0.3285, allocations: 468.9 kB / 0.854 GB, free: 7.492 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004963/0.3335, allocations: 1.514 MB / 0.8554 GB, free: 5.973 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003061/0.3366, allocations: 0.8827 MB / 0.8563 GB, free: 5.102 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004713/0.3413, allocations: 3.371 MB / 0.8596 GB, free: 1.719 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001399/0.3427, allocations: 0.7936 MB / 0.8604 GB, free: 0.8984 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002464/0.3452, allocations: 1.05 MB / 0.8614 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/0.3466, allocations: 0.8089 MB / 0.8622 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.3468, allocations: 40 kB / 0.8622 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002582/0.3494, allocations: 1.091 MB / 0.8633 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002632/0.3496, allocations: 203 kB / 0.8635 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004732/0.3501, allocations: 289 kB / 0.8638 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002259/0.3524, allocations: 1.644 MB / 0.8654 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3524, allocations: 3.938 kB / 0.8654 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3524, allocations: 4 kB / 0.8654 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.484e-05/0.3524, allocations: 0 / 0.8654 GB, free: 11.75 MB / 0.6856 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.002824/0.3553, allocations: 1.493 MB / 0.8668 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.3553, allocations: 16.02 kB / 0.8668 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001687/0.3555, allocations: 118.7 kB / 0.867 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001966/0.3575, allocations: 473.9 kB / 0.8674 GB, free: 9.598 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002063/0.3596, allocations: 1.097 MB / 0.8685 GB, free: 8.441 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003153/0.3599, allocations: 133.9 kB / 0.8686 GB, free: 8.312 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.36, allocations: 80 kB / 0.8687 GB, free: 8.234 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001937/0.362, allocations: 0.9995 MB / 0.8697 GB, free: 7.195 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.362, allocations: 7.984 kB / 0.8697 GB, free: 7.188 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.602e-05/0.3621, allocations: 32 kB / 0.8697 GB, free: 7.156 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/0.3621, allocations: 20 kB / 0.8697 GB, free: 7.137 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002234/0.3643, allocations: 0.9212 MB / 0.8706 GB, free: 6.219 MB / 0.6856 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.006629/0.371, allocations: 4.623 MB / 0.8751 GB, free: 1.285 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003103/0.3741, allocations: 0.9343 MB / 0.876 GB, free: 348 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006994/0.3748, allocations: 334 kB / 0.8764 GB, free: 12 kB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007032/0.3755, allocations: 0.9107 MB / 0.8773 GB, free: 14.9 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.3756, allocations: 35 kB / 0.8773 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=47): time 2.535e-06/0.3756, allocations: 0 / 0.8773 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of matching and sorting (n=47): time 0.007028/0.3826, allocations: 2.014 MB / 0.8793 GB, free: 12.81 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.3827, allocations: 55.84 kB / 0.8793 GB, free: 12.74 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/0.3844, allocations: 1.047 MB / 0.8803 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.792e-05/0.3845, allocations: 37.7 kB / 0.8804 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004683/0.3849, allocations: 0.5158 MB / 0.8809 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/0.3851, allocations: 169.5 kB / 0.881 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/0.3852, allocations: 16 kB / 0.881 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.3853, allocations: 333.9 kB / 0.8814 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008247/0.3861, allocations: 328.9 kB / 0.8817 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009875/0.3871, allocations: 0.5367 MB / 0.8822 GB, free: 9.66 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008539/0.388, allocations: 372.6 kB / 0.8826 GB, free: 9.301 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.388, allocations: 0 / 0.8826 GB, free: 9.301 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003397/0.3914, allocations: 1.237 MB / 0.8838 GB, free: 8.051 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001541/0.3916, allocations: 199.7 kB / 0.884 GB, free: 7.801 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.3916, allocations: 4 kB / 0.884 GB, free: 7.797 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/0.3928, allocations: 328.5 kB / 0.8843 GB, free: 7.473 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005404/0.3934, allocations: 139.8 kB / 0.8844 GB, free: 7.336 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/0.3948, allocations: 0.931 MB / 0.8853 GB, free: 6.379 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.396, allocations: 199.1 kB / 0.8855 GB, free: 6.184 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.544e-05/0.3961, allocations: 35.98 kB / 0.8855 GB, free: 6.148 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 9.248e-06/0.3961, allocations: 0 / 0.8855 GB, free: 6.148 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003029/0.3992, allocations: 1.1 MB / 0.8866 GB, free: 5.043 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.3992, allocations: 4 kB / 0.8866 GB, free: 5.039 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/0.4002, allocations: 327.6 kB / 0.8869 GB, free: 4.719 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005391/0.4008, allocations: 131.8 kB / 0.8871 GB, free: 4.59 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.4021, allocations: 0.9425 MB / 0.888 GB, free: 3.621 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.4033, allocations: 167.4 kB / 0.8881 GB, free: 3.457 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.67e-05/0.4034, allocations: 27.98 kB / 0.8882 GB, free: 3.43 MB / 0.7012 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.0006098/0.404, allocations: 352.9 kB / 0.8885 GB, free: 3.074 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002585/0.4043, allocations: 118.6 kB / 0.8886 GB, free: 2.957 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003559/0.4078, allocations: 1.229 MB / 0.8898 GB, free: 1.719 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.4078, allocations: 7.984 kB / 0.8898 GB, free: 1.711 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.4079, allocations: 8 kB / 0.8898 GB, free: 1.703 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.4079, allocations: 4 kB / 0.8898 GB, free: 1.699 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005085/0.413, allocations: 2.309 MB / 0.8921 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/0.413, allocations: 4 kB / 0.8921 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000315/0.4133, allocations: 84.16 kB / 0.8922 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009731/0.4143, allocations: 324.5 kB / 0.8925 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.157e-05/0.4144, allocations: 19.92 kB / 0.8925 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001393/0.4158, allocations: 0.9646 MB / 0.8934 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-05/0.4158, allocations: 4.031 kB / 0.8934 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004066/0.4198, allocations: 1.453 MB / 0.8949 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000544/0.4204, allocations: 287.4 kB / 0.8951 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002063/0.4206, allocations: 8 kB / 0.8951 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009285/0.4216, allocations: 115.8 kB / 0.8953 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.421e-05/0.4217, allocations: 47.83 kB / 0.8953 GB, free: 11.92 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.667e-05/0.4217, allocations: 27.92 kB / 0.8953 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001268/0.423, allocations: 0.7313 MB / 0.896 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/0.423, allocations: 4 kB / 0.896 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001775/0.4248, allocations: 0.5614 MB / 0.8966 GB, free: 10.59 MB / 0.7169 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.004525/0.4293, allocations: 2.115 MB / 0.8987 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003173/0.4325, allocations: 1.21 MB / 0.8998 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.4325, allocations: 4 kB / 0.8998 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008783/0.4334, allocations: 395.3 kB / 0.9002 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002556/0.436, allocations: 0.5325 MB / 0.9007 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01763/0.4536, allocations: 6.927 MB / 0.9075 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008932/0.4546, allocations: 1.062 MB / 0.9085 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001337/0.456, allocations: 224.8 kB / 0.9088 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007034/0.4567, allocations: 415.3 kB / 0.9092 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of SimCode: time 1.723e-06/0.4567, allocations: 0 / 0.9092 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5261/0.9828, allocations: 33.91 MB / 0.9423 GB, free: 127.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/0.9831, allocations: 249.5 kB / 0.9425 GB, free: 127.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.573/3.556, allocations: 4.938 kB / 0.9425 GB, free: 127.5 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Examples_Carnot_TCon_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Examples_Carnot_TCon.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1) Environment - environmentSimulation: