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.0009805/0.0009804, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007281/0.007281, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.339/1.339, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.982/0.982, allocations: 143.2 MB / 434.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003478, allocations: 11.98 kB / 0.5164 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1787, allocations: 83.41 MB / 0.5978 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.3319/0.5106, allocations: 59.69 MB / 0.6561 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01535/0.5259, allocations: 11.93 MB / 0.6678 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001669/0.5277, allocations: 53.03 kB / 0.6678 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001576/0.5292, allocations: 0.5507 MB / 0.6684 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005229/0.5345, allocations: 1.807 MB / 0.6701 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002816/0.5373, allocations: 1.073 MB / 0.6712 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005033/0.5424, allocations: 3.898 MB / 0.675 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001583/0.544, allocations: 0.9054 MB / 0.6759 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002639/0.5466, allocations: 1.121 MB / 0.677 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00152/0.5482, allocations: 0.8581 MB / 0.6778 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.5483, allocations: 42.09 kB / 0.6778 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002948/0.5513, allocations: 1.325 MB / 0.6791 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003185/0.5516, allocations: 207.9 kB / 0.6793 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008701/0.5525, allocations: 0.6348 MB / 0.68 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004061/0.5565, allocations: 2.281 MB / 0.6822 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.5566, allocations: 2.047 kB / 0.6822 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5566, allocations: 0 / 0.6822 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.938e-05/0.5566, allocations: 3.938 kB / 0.6822 GB, free: 6.711 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.003429/0.5601, allocations: 1.488 MB / 0.6836 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.5601, allocations: 9.75 kB / 0.6837 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002427/0.5626, allocations: 473.6 kB / 0.6841 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002365/0.5649, allocations: 1.133 MB / 0.6852 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003915/0.5654, allocations: 127.2 kB / 0.6853 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.5655, allocations: 83.28 kB / 0.6854 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002297/0.5678, allocations: 1.009 MB / 0.6864 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.5679, allocations: 1.656 kB / 0.6864 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.952e-05/0.568, allocations: 30.88 kB / 0.6864 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.568, allocations: 20.12 kB / 0.6864 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002513/0.5705, allocations: 0.9212 MB / 0.6873 GB, free: 4.047 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.00755/0.5781, allocations: 4.895 MB / 0.6921 GB, free: 388 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00376/0.5819, allocations: 0.9032 MB / 0.693 GB, free: 144 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008763/0.5828, allocations: 320.9 kB / 0.6933 GB, free: 44 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007368/0.5835, allocations: 0.9037 MB / 0.6942 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.5836, allocations: 37.42 kB / 0.6942 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=43): time 2.995e-06/0.5836, allocations: 4 kB / 0.6942 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43): time 0.009828/0.5934, allocations: 2.157 MB / 0.6963 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.5935, allocations: 56.34 kB / 0.6964 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001991/0.5955, allocations: 1.053 MB / 0.6974 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000141/0.5957, allocations: 38.45 kB / 0.6975 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004723/0.5961, allocations: 0.5214 MB / 0.698 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/0.5963, allocations: 153.4 kB / 0.6981 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.5964, allocations: 47.52 kB / 0.6982 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.5966, allocations: 326 kB / 0.6985 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009923/0.5976, allocations: 323.2 kB / 0.6988 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/0.5987, allocations: 0.5368 MB / 0.6993 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001824/0.6006, allocations: 0.7272 MB / 0.7 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.6006, allocations: 1.156 kB / 0.7 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003079/0.6037, allocations: 1.057 MB / 0.701 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001719/0.6038, allocations: 216.4 kB / 0.7013 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.6039, allocations: 4.375 kB / 0.7013 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001449/0.6053, allocations: 342.8 kB / 0.7016 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005635/0.6059, allocations: 126.1 kB / 0.7017 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/0.6075, allocations: 0.9431 MB / 0.7026 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/0.6092, allocations: 199.2 kB / 0.7028 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.774e-05/0.6093, allocations: 28.66 kB / 0.7028 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.6093, allocations: 8.062 kB / 0.7029 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002679/0.612, allocations: 0.9098 MB / 0.7037 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.612, allocations: 8.438 kB / 0.7037 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/0.6132, allocations: 330.4 kB / 0.7041 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005343/0.6138, allocations: 128.8 kB / 0.7042 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001538/0.6153, allocations: 0.9318 MB / 0.7051 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/0.6168, allocations: 171.2 kB / 0.7053 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.894e-05/0.6169, allocations: 28.53 kB / 0.7053 GB, free: 9.605 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.0007015/0.6176, allocations: 355.7 kB / 0.7056 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/0.6179, allocations: 107.5 kB / 0.7057 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004038/0.6219, allocations: 1.201 MB / 0.7069 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/0.6219, allocations: 5.031 kB / 0.7069 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.622, allocations: 1.375 kB / 0.7069 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.208e-06/0.622, allocations: 3.984 kB / 0.7069 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005928/0.6279, allocations: 2.271 MB / 0.7091 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/0.6279, allocations: 6.375 kB / 0.7091 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002998/0.6282, allocations: 66.05 kB / 0.7092 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001118/0.6294, allocations: 328.6 kB / 0.7095 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.106e-05/0.6294, allocations: 15.05 kB / 0.7095 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001471/0.6309, allocations: 0.9735 MB / 0.7105 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.6309, allocations: 7.031 kB / 0.7105 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003836/0.6348, allocations: 1.253 MB / 0.7117 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006857/0.6355, allocations: 293.8 kB / 0.712 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/0.6356, allocations: 12.31 kB / 0.712 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009871/0.6366, allocations: 106.7 kB / 0.7121 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.817e-05/0.6367, allocations: 32.36 kB / 0.7121 GB, free: 5.191 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.917e-05/0.6368, allocations: 23.45 kB / 0.7122 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001305/0.6381, allocations: 0.7424 MB / 0.7129 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.81e-07/0.6381, allocations: 0 / 0.7129 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001821/0.64, allocations: 0.5634 MB / 0.7134 GB, free: 4.641 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.0009322/0.6409, allocations: 395.6 kB / 0.7138 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003449/0.6444, allocations: 1.174 MB / 0.715 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.6444, allocations: 0 / 0.715 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.6454, allocations: 375.1 kB / 0.7153 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003885/0.6493, allocations: 0.4973 MB / 0.7158 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006125/0.6555, allocations: 2.53 MB / 0.7183 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006334/0.6562, allocations: 1.061 MB / 0.7193 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001122/0.6573, allocations: 229.1 kB / 0.7195 GB, free: 14.39 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000206/0.6575, allocations: 75.42 kB / 0.7196 GB, free: 14.31 MB / 0.545 GB Notification: Performance of SimCode: time 1.282e-06/0.6575, allocations: 4 kB / 0.7196 GB, free: 14.31 MB / 0.545 GB Notification: Performance of Templates: time 0.04178/0.6993, allocations: 24.16 MB / 0.7432 GB, free: 6.434 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)