Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 99.11 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 187 kB / 16.92 MB, free: 6.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9771/0.9771, allocations: 143.2 MB / 435.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003622, allocations: 8 kB / 0.517 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1506, allocations: 83.42 MB / 0.5985 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.316/0.4666, allocations: 59.69 MB / 0.6568 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01443/0.4811, allocations: 11.92 MB / 0.6684 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002213/0.4833, allocations: 52.69 kB / 0.6685 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001768/0.4851, allocations: 0.5455 MB / 0.669 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005424/0.4906, allocations: 1.812 MB / 0.6708 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003028/0.4936, allocations: 1.07 MB / 0.6718 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005673/0.4993, allocations: 3.907 MB / 0.6757 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001747/0.5011, allocations: 0.8983 MB / 0.6765 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002919/0.504, allocations: 1.117 MB / 0.6776 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001669/0.5057, allocations: 0.8579 MB / 0.6785 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001431/0.5058, allocations: 42.41 kB / 0.6785 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003382/0.5092, allocations: 1.326 MB / 0.6798 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003202/0.5096, allocations: 210.5 kB / 0.68 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009793/0.5106, allocations: 0.6315 MB / 0.6806 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00282/0.5134, allocations: 1.789 MB / 0.6824 GB, free: 7 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.5134, allocations: 0 / 0.6824 GB, free: 7 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5134, allocations: 4 kB / 0.6824 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.55e-05/0.5134, allocations: 1.094 kB / 0.6824 GB, free: 6.996 MB / 0.5137 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.003276/0.5167, allocations: 1.483 MB / 0.6838 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.5168, allocations: 10.38 kB / 0.6838 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002593/0.5194, allocations: 469.8 kB / 0.6843 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002398/0.5218, allocations: 1.135 MB / 0.6854 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003851/0.5222, allocations: 124.1 kB / 0.6855 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.5224, allocations: 91.59 kB / 0.6856 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002464/0.5248, allocations: 1.003 MB / 0.6866 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.5249, allocations: 8 kB / 0.6866 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-05/0.525, allocations: 32.84 kB / 0.6866 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/0.525, allocations: 19.25 kB / 0.6866 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002538/0.5275, allocations: 0.9145 MB / 0.6875 GB, free: 4.336 MB / 0.5137 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.008338/0.5359, allocations: 4.9 MB / 0.6923 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003774/0.5397, allocations: 0.8944 MB / 0.6932 GB, free: 444 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008336/0.5405, allocations: 333.2 kB / 0.6935 GB, free: 336 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007186/0.5413, allocations: 0.8993 MB / 0.6944 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.5413, allocations: 34.58 kB / 0.6944 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=43): time 2.655e-06/0.5413, allocations: 0 / 0.6944 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43): time 0.009718/0.551, allocations: 2.168 MB / 0.6965 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.5511, allocations: 59.67 kB / 0.6966 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002031/0.5532, allocations: 1.053 MB / 0.6976 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001063/0.5533, allocations: 39.17 kB / 0.6976 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004675/0.5538, allocations: 0.5167 MB / 0.6981 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000214/0.554, allocations: 150.2 kB / 0.6983 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.52e-05/0.5541, allocations: 52.09 kB / 0.6983 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.5542, allocations: 329.9 kB / 0.6987 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009837/0.5552, allocations: 321.8 kB / 0.699 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.5564, allocations: 0.5389 MB / 0.6995 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001841/0.5582, allocations: 0.7302 MB / 0.7002 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.5583, allocations: 1.281 kB / 0.7002 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003094/0.5614, allocations: 1.057 MB / 0.7012 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001435/0.5615, allocations: 211.5 kB / 0.7014 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.5615, allocations: 4.156 kB / 0.7014 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/0.5629, allocations: 336.9 kB / 0.7018 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000567/0.5635, allocations: 127 kB / 0.7019 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/0.5651, allocations: 0.9429 MB / 0.7028 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/0.5667, allocations: 193.2 kB / 0.703 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.05e-05/0.5668, allocations: 28.59 kB / 0.703 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/0.5668, allocations: 4.781 kB / 0.703 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002615/0.5694, allocations: 0.9157 MB / 0.7039 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.5694, allocations: 9.516 kB / 0.7039 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/0.5706, allocations: 324.7 kB / 0.7042 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005528/0.5712, allocations: 126.1 kB / 0.7044 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/0.5727, allocations: 0.9363 MB / 0.7053 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.5742, allocations: 176 kB / 0.7054 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-05/0.5743, allocations: 28.36 kB / 0.7055 GB, free: 9.887 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0007129/0.5751, allocations: 357.5 kB / 0.7058 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000234/0.5753, allocations: 111.9 kB / 0.7059 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00421/0.5795, allocations: 1.197 MB / 0.7071 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.95e-05/0.5796, allocations: 4.312 kB / 0.7071 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.5796, allocations: 0.7812 kB / 0.7071 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.5796, allocations: 5.391 kB / 0.7071 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005913/0.5855, allocations: 2.274 MB / 0.7093 GB, free: 7.426 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.5855, allocations: 3 kB / 0.7093 GB, free: 7.426 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002973/0.5858, allocations: 69.7 kB / 0.7094 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001115/0.587, allocations: 331.1 kB / 0.7097 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.921e-05/0.587, allocations: 17.17 kB / 0.7097 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001586/0.5886, allocations: 0.9652 MB / 0.7107 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.5886, allocations: 3.281 kB / 0.7107 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003949/0.5926, allocations: 1.252 MB / 0.7119 GB, free: 5.801 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000682/0.5933, allocations: 296.8 kB / 0.7122 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/0.5934, allocations: 12 kB / 0.7122 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009226/0.5944, allocations: 110.8 kB / 0.7123 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/0.5945, allocations: 32.08 kB / 0.7123 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.665e-05/0.5945, allocations: 24.8 kB / 0.7123 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001247/0.5958, allocations: 0.7449 MB / 0.7131 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.3e-07/0.5958, allocations: 0 / 0.7131 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001723/0.5975, allocations: 0.5593 MB / 0.7136 GB, free: 4.918 MB / 0.5294 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008233/0.5984, allocations: 386.9 kB / 0.714 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003337/0.6017, allocations: 1.174 MB / 0.7151 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.6017, allocations: 0 / 0.7151 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009651/0.6027, allocations: 371.1 kB / 0.7155 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003077/0.6058, allocations: 0.5011 MB / 0.716 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005949/0.6117, allocations: 2.561 MB / 0.7185 GB, free: 156 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006572/0.6124, allocations: 1.062 MB / 0.7195 GB, free: 15.06 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002946/0.6127, allocations: 83.36 kB / 0.7196 GB, free: 14.98 MB / 0.545 GB Notification: Performance of SimCode: time 1.112e-06/0.6127, allocations: 0 / 0.7196 GB, free: 14.98 MB / 0.545 GB Notification: Performance of Templates: time 0.03054/0.6433, allocations: 23.92 MB / 0.7429 GB, free: 7.211 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)