Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.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.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva") translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 98.19 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.005958/0.005958, allocations: 169.6 kB / 16.27 MB, free: 6.648 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.138/1.138, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.8281/0.8281, allocations: 143.2 MB / 434.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002684/0.0002684, allocations: 8.281 kB / 0.5164 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1219, allocations: 83.42 MB / 0.5978 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.2476/0.3695, allocations: 59.68 MB / 0.6561 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01152/0.3811, allocations: 11.93 MB / 0.6678 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.3821, allocations: 52.94 kB / 0.6678 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001176/0.3833, allocations: 0.5463 MB / 0.6684 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003337/0.3867, allocations: 1.812 MB / 0.6701 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002086/0.3888, allocations: 1.072 MB / 0.6712 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00351/0.3923, allocations: 3.893 MB / 0.675 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001132/0.3934, allocations: 0.9041 MB / 0.6759 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001746/0.3952, allocations: 1.122 MB / 0.677 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009925/0.3962, allocations: 0.8492 MB / 0.6778 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.705e-05/0.3963, allocations: 46.47 kB / 0.6778 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002186/0.3985, allocations: 1.331 MB / 0.6791 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002166/0.3987, allocations: 215.1 kB / 0.6793 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005687/0.3993, allocations: 0.6275 MB / 0.6799 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002347/0.4016, allocations: 2.287 MB / 0.6822 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.4017, allocations: 0 / 0.6822 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4017, allocations: 0 / 0.6822 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.262e-05/0.4017, allocations: 1.531 kB / 0.6822 GB, free: 7.008 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.00234/0.404, allocations: 1.493 MB / 0.6836 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.4041, allocations: 9.812 kB / 0.6836 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001981/0.4061, allocations: 474.4 kB / 0.6841 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001771/0.4078, allocations: 1.135 MB / 0.6852 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003251/0.4082, allocations: 132.3 kB / 0.6853 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.4083, allocations: 79.19 kB / 0.6854 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.4101, allocations: 1.008 MB / 0.6864 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.4102, allocations: 0 / 0.6864 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.405e-05/0.4103, allocations: 33.19 kB / 0.6864 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.4103, allocations: 18.42 kB / 0.6864 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002095/0.4124, allocations: 0.9112 MB / 0.6873 GB, free: 4.34 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.005625/0.418, allocations: 4.892 MB / 0.6921 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003273/0.4213, allocations: 0.8972 MB / 0.693 GB, free: 456 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007119/0.422, allocations: 329.5 kB / 0.6933 GB, free: 352 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005911/0.4226, allocations: 0.9005 MB / 0.6942 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.4226, allocations: 41.58 kB / 0.6942 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=43): time 1.423e-06/0.4227, allocations: 0 / 0.6942 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43): time 0.006822/0.4295, allocations: 1.955 MB / 0.6961 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.4295, allocations: 59.78 kB / 0.6962 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/0.4309, allocations: 1.055 MB / 0.6972 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.921e-05/0.431, allocations: 37.91 kB / 0.6973 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000383/0.4314, allocations: 0.5255 MB / 0.6978 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.4315, allocations: 150.2 kB / 0.6979 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.521e-05/0.4316, allocations: 47.84 kB / 0.698 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.722e-05/0.4317, allocations: 328.8 kB / 0.6983 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008431/0.4325, allocations: 327.1 kB / 0.6986 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/0.4336, allocations: 0.5263 MB / 0.6991 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/0.4352, allocations: 0.7291 MB / 0.6998 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.4352, allocations: 1.375 kB / 0.6998 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003234/0.4384, allocations: 1.219 MB / 0.701 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.4385, allocations: 211.2 kB / 0.7012 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.4386, allocations: 5.719 kB / 0.7012 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/0.4397, allocations: 330.1 kB / 0.7015 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004719/0.4402, allocations: 122.5 kB / 0.7016 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/0.4415, allocations: 0.9501 MB / 0.7026 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.4427, allocations: 188.1 kB / 0.7027 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-05/0.4427, allocations: 31.44 kB / 0.7028 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.65e-06/0.4427, allocations: 3.5 kB / 0.7028 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002995/0.4457, allocations: 1.073 MB / 0.7038 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.4458, allocations: 4.562 kB / 0.7038 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009804/0.4467, allocations: 325.7 kB / 0.7041 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004653/0.4472, allocations: 135.7 kB / 0.7043 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/0.4485, allocations: 0.9294 MB / 0.7052 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000924/0.4494, allocations: 167.1 kB / 0.7053 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.087e-05/0.4495, allocations: 31.89 kB / 0.7054 GB, free: 9.707 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.0003833/0.4499, allocations: 354.6 kB / 0.7057 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.45, allocations: 110.3 kB / 0.7058 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002168/0.4522, allocations: 0.9831 MB / 0.7068 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.022e-05/0.4522, allocations: 9.219 kB / 0.7068 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.4522, allocations: 3.938 kB / 0.7068 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.4523, allocations: 4.891 kB / 0.7068 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004618/0.4569, allocations: 2.259 MB / 0.709 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.4569, allocations: 2.375 kB / 0.709 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/0.4572, allocations: 75.45 kB / 0.7091 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009221/0.4581, allocations: 327.6 kB / 0.7094 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.4581, allocations: 9.719 kB / 0.7094 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001287/0.4594, allocations: 0.9761 MB / 0.7103 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4594, allocations: 3.375 kB / 0.7103 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003211/0.4627, allocations: 1.248 MB / 0.7116 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003165/0.463, allocations: 283.9 kB / 0.7118 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.4631, allocations: 19.36 kB / 0.7119 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008054/0.4639, allocations: 115.8 kB / 0.712 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.495e-05/0.464, allocations: 34.73 kB / 0.712 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-05/0.464, allocations: 25.77 kB / 0.712 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009472/0.465, allocations: 0.7394 MB / 0.7127 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.465, allocations: 0 / 0.7127 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001306/0.4663, allocations: 0.5598 MB / 0.7133 GB, free: 4.828 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.0006278/0.4669, allocations: 404.3 kB / 0.7137 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002768/0.4697, allocations: 1.163 MB / 0.7148 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4697, allocations: 4.125 kB / 0.7148 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008092/0.4706, allocations: 375.4 kB / 0.7152 GB, free: 3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002366/0.4729, allocations: 0.496 MB / 0.7157 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004661/0.4776, allocations: 2.551 MB / 0.7182 GB, free: 15.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005262/0.4781, allocations: 1.065 MB / 0.7192 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007023/0.4788, allocations: 210.1 kB / 0.7194 GB, free: 14.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.479, allocations: 79.41 kB / 0.7195 GB, free: 14.52 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.479, allocations: 0 / 0.7195 GB, free: 14.52 MB / 0.545 GB Notification: Performance of Templates: time 0.03112/0.5101, allocations: 24.07 MB / 0.743 GB, free: 6.73 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)