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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.001417/0.001417, allocations: 102.2 kB / 16.27 MB, free: 6 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.001631/0.001631, allocations: 191 kB / 17.2 MB, free: 5.609 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.407/1.407, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9228/0.9228, allocations: 143.3 MB / 434.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001946, allocations: 67.89 kB / 0.5151 GB, free: 15.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3518, allocations: 82.03 MB / 0.5952 GB, free: 16.04 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.06385/0.4157, allocations: 61.16 MB / 0.6549 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01841/0.4342, allocations: 11.99 MB / 0.6666 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001967/0.4362, allocations: 59.62 kB / 0.6667 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001989/0.4382, allocations: 0.687 MB / 0.6673 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005682/0.4439, allocations: 1.969 MB / 0.6693 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003358/0.4473, allocations: 1.202 MB / 0.6704 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004679/0.452, allocations: 3.075 MB / 0.6734 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001716/0.4537, allocations: 1.09 MB / 0.6745 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003314/0.457, allocations: 1.325 MB / 0.6758 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001542/0.4586, allocations: 0.8983 MB / 0.6767 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000223/0.4588, allocations: 120 kB / 0.6768 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003004/0.4619, allocations: 1.435 MB / 0.6782 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003407/0.4622, allocations: 282.9 kB / 0.6785 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009028/0.4631, allocations: 0.6958 MB / 0.6791 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003716/0.4668, allocations: 2.372 MB / 0.6815 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.4669, allocations: 4 kB / 0.6815 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.993e-06/0.4669, allocations: 0 / 0.6815 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.735e-05/0.4669, allocations: 0 / 0.6815 GB, free: 7.484 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.003249/0.4702, allocations: 1.711 MB / 0.6831 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.4702, allocations: 12.03 kB / 0.6831 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002251/0.4725, allocations: 414.8 kB / 0.6835 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002178/0.4747, allocations: 1.113 MB / 0.6846 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003858/0.4751, allocations: 117.9 kB / 0.6847 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.4752, allocations: 83.94 kB / 0.6848 GB, free: 3.926 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002127/0.4773, allocations: 1.009 MB / 0.6858 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.4774, allocations: 0 / 0.6858 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.43e-05/0.4775, allocations: 32 kB / 0.6858 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/0.4775, allocations: 24 kB / 0.6859 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002468/0.48, allocations: 0.8625 MB / 0.6867 GB, free: 1.941 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.007143/0.4871, allocations: 5.286 MB / 0.6919 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00363/0.4908, allocations: 0.792 MB / 0.6926 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007787/0.4916, allocations: 300.7 kB / 0.6929 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007773/0.4923, allocations: 0.9063 MB / 0.6938 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.4924, allocations: 46.44 kB / 0.6939 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=43): time 4.078e-06/0.4924, allocations: 3.984 kB / 0.6939 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43): time 0.009/0.5014, allocations: 1.904 MB / 0.6957 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/0.5015, allocations: 55.41 kB / 0.6958 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001785/0.5033, allocations: 1.072 MB / 0.6968 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.865e-05/0.5034, allocations: 41.7 kB / 0.6969 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004802/0.5039, allocations: 0.5427 MB / 0.6974 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.5041, allocations: 149.8 kB / 0.6975 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002385/0.5043, allocations: 134.2 kB / 0.6977 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.5045, allocations: 326 kB / 0.698 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009419/0.5054, allocations: 315.3 kB / 0.6983 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001201/0.5066, allocations: 0.5385 MB / 0.6988 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001842/0.5085, allocations: 0.7255 MB / 0.6995 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.5085, allocations: 4 kB / 0.6995 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003031/0.5115, allocations: 1.023 MB / 0.7005 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.5116, allocations: 8 kB / 0.7005 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/0.5116, allocations: 8 kB / 0.7005 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001366/0.513, allocations: 316.7 kB / 0.7008 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005671/0.5135, allocations: 131.8 kB / 0.701 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/0.5152, allocations: 0.9219 MB / 0.7019 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/0.5164, allocations: 155.2 kB / 0.702 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.997e-05/0.5165, allocations: 35.98 kB / 0.702 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001294/0.5178, allocations: 0.509 MB / 0.7025 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001188/0.519, allocations: 0.5385 MB / 0.7031 GB, free: 204 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001818/0.5209, allocations: 0.7137 MB / 0.7038 GB, free: 15.41 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.946e-06/0.5209, allocations: 0 / 0.7038 GB, free: 15.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002968/0.5239, allocations: 1.02 MB / 0.7047 GB, free: 14.38 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.5239, allocations: 11.94 kB / 0.7048 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.5239, allocations: 7.984 kB / 0.7048 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/0.5251, allocations: 308.7 kB / 0.7051 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005633/0.5257, allocations: 127.8 kB / 0.7052 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/0.5272, allocations: 0.9074 MB / 0.7061 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/0.5286, allocations: 143.6 kB / 0.7062 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.075e-05/0.5287, allocations: 27.98 kB / 0.7062 GB, free: 12.83 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * 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.0002589/0.5289, allocations: 224 kB / 0.7064 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002129/0.5291, allocations: 110.6 kB / 0.7066 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004061/0.5332, allocations: 1.106 MB / 0.7076 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/0.5332, allocations: 8 kB / 0.7076 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.5333, allocations: 3.938 kB / 0.7076 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.5333, allocations: 7.984 kB / 0.7077 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005534/0.5388, allocations: 2.158 MB / 0.7098 GB, free: 9.113 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/0.5388, allocations: 4 kB / 0.7098 GB, free: 9.109 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002951/0.5391, allocations: 64.17 kB / 0.7098 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001093/0.5402, allocations: 306.5 kB / 0.7101 GB, free: 8.746 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.231e-05/0.5403, allocations: 15.98 kB / 0.7101 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001672/0.542, allocations: 0.9443 MB / 0.7111 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-05/0.542, allocations: 4.031 kB / 0.7111 GB, free: 7.758 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003949/0.546, allocations: 1.164 MB / 0.7122 GB, free: 6.551 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005983/0.5466, allocations: 267.5 kB / 0.7124 GB, free: 6.27 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002693/0.5469, allocations: 19.92 kB / 0.7125 GB, free: 6.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000914/0.5478, allocations: 67.92 kB / 0.7125 GB, free: 6.184 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.851e-05/0.5479, allocations: 35.89 kB / 0.7126 GB, free: 6.148 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.743e-05/0.548, allocations: 27.98 kB / 0.7126 GB, free: 6.121 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001398/0.5494, allocations: 0.7512 MB / 0.7133 GB, free: 5.363 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.71e-07/0.5494, allocations: 0 / 0.7133 GB, free: 5.363 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001774/0.5511, allocations: 0.5654 MB / 0.7139 GB, free: 4.797 MB / 0.545 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.0009063/0.5521, allocations: 397.5 kB / 0.7143 GB, free: 4.414 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003552/0.5556, allocations: 1.152 MB / 0.7154 GB, free: 3.262 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.5557, allocations: 8.188 kB / 0.7154 GB, free: 3.254 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009639/0.5566, allocations: 346.7 kB / 0.7157 GB, free: 2.918 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00254/0.5592, allocations: 0.5029 MB / 0.7162 GB, free: 2.426 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005635/0.5648, allocations: 2.09 MB / 0.7183 GB, free: 284 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008019/0.5657, allocations: 1.057 MB / 0.7193 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002743/0.5659, allocations: 79.42 kB / 0.7194 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of SimCode: time 8.91e-07/0.566, allocations: 4 kB / 0.7194 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of Templates: time 0.03777/0.6037, allocations: 24.28 MB / 0.7431 GB, free: 7 MB / 0.5762 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)