Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 112.6 kB / 16.37 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.001102/0.001102, allocations: 196 kB / 17.31 MB, free: 5.613 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.808/0.808, allocations: 143.1 MB / 434.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.91 kB / 0.5156 GB, free: 14.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3901/0.3914, allocations: 82.03 MB / 0.5957 GB, free: 16.15 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.0614/0.4528, allocations: 70.45 MB / 0.6645 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02277/0.4756, allocations: 18.95 MB / 0.683 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002987/0.4787, allocations: 67.62 kB / 0.6831 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00238/0.4811, allocations: 0.819 MB / 0.6839 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007678/0.4888, allocations: 2.852 MB / 0.6866 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004174/0.493, allocations: 1.659 MB / 0.6883 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005614/0.4986, allocations: 4.042 MB / 0.6922 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001896/0.5005, allocations: 1.453 MB / 0.6936 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003917/0.5045, allocations: 1.771 MB / 0.6954 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001571/0.5061, allocations: 1.179 MB / 0.6965 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001905/0.5063, allocations: 180 kB / 0.6967 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002965/0.5092, allocations: 1.416 MB / 0.6981 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003603/0.5096, allocations: 394.6 kB / 0.6984 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000911/0.5105, allocations: 0.9138 MB / 0.6993 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003722/0.5142, allocations: 3.277 MB / 0.7025 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.5143, allocations: 0 / 0.7025 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5143, allocations: 0 / 0.7025 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.638e-05/0.5143, allocations: 0 / 0.7025 GB, free: 2.488 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003336/0.5176, allocations: 2.023 MB / 0.7045 GB, free: 412 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.5177, allocations: 12.03 kB / 0.7045 GB, free: 400 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002028/0.5197, allocations: 442.5 kB / 0.7049 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00249/0.5222, allocations: 1.559 MB / 0.7065 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.481e-05/0.5223, allocations: 82.03 kB / 0.7065 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.5224, allocations: 104 kB / 0.7066 GB, free: 14.15 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002248/0.5247, allocations: 1.317 MB / 0.7079 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.5247, allocations: 0 / 0.7079 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.293e-05/0.5248, allocations: 44 kB / 0.708 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/0.5249, allocations: 28 kB / 0.708 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002391/0.5273, allocations: 1.101 MB / 0.7091 GB, free: 11.56 MB / 0.545 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.007815/0.5351, allocations: 7.517 MB / 0.7164 GB, free: 3.527 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002897/0.538, allocations: 0.8106 MB / 0.7172 GB, free: 2.715 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005539/0.5386, allocations: 282 kB / 0.7175 GB, free: 2.434 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001304/0.5399, allocations: 1.718 MB / 0.7191 GB, free: 336 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.5399, allocations: 43 kB / 0.7192 GB, free: 284 kB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 2.394e-06/0.5399, allocations: 0 / 0.7192 GB, free: 284 kB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.004546/0.5445, allocations: 1.334 MB / 0.7205 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.5445, allocations: 59.84 kB / 0.7205 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002272/0.5468, allocations: 1.549 MB / 0.7221 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.698e-05/0.5469, allocations: 37.7 kB / 0.7221 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005369/0.5474, allocations: 0.6689 MB / 0.7227 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/0.5476, allocations: 181.4 kB / 0.7229 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003572/0.548, allocations: 174.4 kB / 0.7231 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.5481, allocations: 334 kB / 0.7234 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008773/0.549, allocations: 365.8 kB / 0.7238 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/0.5501, allocations: 0.6546 MB / 0.7244 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001673/0.5518, allocations: 0.8867 MB / 0.7253 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.5518, allocations: 7.938 kB / 0.7253 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002807/0.5546, allocations: 1.186 MB / 0.7264 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.5547, allocations: 12 kB / 0.7264 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.5547, allocations: 4 kB / 0.7264 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008239/0.5555, allocations: 228.6 kB / 0.7267 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007772/0.5563, allocations: 199.7 kB / 0.7269 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008725/0.5572, allocations: 0.7163 MB / 0.7275 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.5586, allocations: 206.6 kB / 0.7277 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.128e-05/0.5587, allocations: 47.97 kB / 0.7278 GB, free: 7.105 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (84): * Single equations (assignments): 83 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0005799/0.5593, allocations: 361.6 kB / 0.7281 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002159/0.5595, allocations: 142.2 kB / 0.7283 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002237/0.5617, allocations: 1.145 MB / 0.7294 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.117e-05/0.5618, allocations: 15.98 kB / 0.7294 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.5618, allocations: 3.938 kB / 0.7294 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.5618, allocations: 3.938 kB / 0.7294 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004805/0.5666, allocations: 2.522 MB / 0.7319 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.5666, allocations: 4 kB / 0.7319 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003372/0.567, allocations: 79.88 kB / 0.732 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006785/0.5677, allocations: 212.8 kB / 0.7322 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.315e-05/0.5677, allocations: 15.98 kB / 0.7322 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001261/0.569, allocations: 0.7708 MB / 0.7329 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.569, allocations: 0 / 0.7329 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003262/0.5723, allocations: 1.211 MB / 0.7341 GB, free: 496 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007383/0.573, allocations: 362.9 kB / 0.7345 GB, free: 112 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001805/0.5732, allocations: 16 kB / 0.7345 GB, free: 96 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008692/0.5741, allocations: 71.91 kB / 0.7345 GB, free: 24 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.5742, allocations: 36.58 kB / 0.7346 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.054e-05/0.5743, allocations: 23.92 kB / 0.7346 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00193/0.5762, allocations: 1.09 MB / 0.7357 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5762, allocations: 0 / 0.7357 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001392/0.5776, allocations: 443.4 kB / 0.7361 GB, free: 14.45 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001075/0.5787, allocations: 495.9 kB / 0.7366 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002034/0.5808, allocations: 0.845 MB / 0.7374 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5808, allocations: 0 / 0.7374 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001173/0.582, allocations: 443.3 kB / 0.7378 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002652/0.5846, allocations: 0.7336 MB / 0.7385 GB, free: 12 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003478/0.5881, allocations: 2.247 MB / 0.7407 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007302/0.5889, allocations: 1.172 MB / 0.7419 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007965/0.5897, allocations: 272.8 kB / 0.7421 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002496/0.5899, allocations: 119.4 kB / 0.7422 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of SimCode: time 6.01e-07/0.5899, allocations: 0 / 0.7422 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of Templates: time 0.339/0.9289, allocations: 31.86 MB / 0.7733 GB, free: 135.2 MB / 0.5762 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)