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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 108 kB / 15.6 MB, free: 132 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.001956/0.001956, allocations: 198 kB / 16.54 MB, free: 6.672 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.378/1.378, allocations: 222.9 MB / 240.2 MB, free: 4.383 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 1.001/1.001, allocations: 143 MB / 433.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 63.91 kB / 0.5143 GB, free: 11.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1767, allocations: 82.04 MB / 0.5944 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.358/0.5347, allocations: 70.44 MB / 0.6632 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02746/0.5623, allocations: 18.94 MB / 0.6817 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003197/0.5655, allocations: 66.03 kB / 0.6817 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002184/0.5678, allocations: 0.8288 MB / 0.6825 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007958/0.5757, allocations: 2.849 MB / 0.6853 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004134/0.5799, allocations: 1.644 MB / 0.6869 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005343/0.5852, allocations: 4.036 MB / 0.6909 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00212/0.5874, allocations: 1.453 MB / 0.6923 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004575/0.592, allocations: 1.765 MB / 0.694 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001969/0.5939, allocations: 1.181 MB / 0.6952 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002804/0.5942, allocations: 176.7 kB / 0.6953 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003811/0.598, allocations: 1.412 MB / 0.6967 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003768/0.5984, allocations: 383.4 kB / 0.6971 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0009577/0.5994, allocations: 0.9248 MB / 0.698 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005244/0.6046, allocations: 3.242 MB / 0.7011 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.6047, allocations: 0 / 0.7011 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.234e-06/0.6047, allocations: 1.188 kB / 0.7011 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.563e-05/0.6047, allocations: 0 / 0.7011 GB, free: 7.496 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.003883/0.6086, allocations: 2.026 MB / 0.7031 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.6087, allocations: 15.11 kB / 0.7031 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001969/0.6089, allocations: 153.7 kB / 0.7033 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002312/0.6112, allocations: 449.6 kB / 0.7037 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002439/0.6136, allocations: 1.492 MB / 0.7052 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003776/0.614, allocations: 136.2 kB / 0.7053 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/0.6142, allocations: 106.7 kB / 0.7054 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002507/0.6167, allocations: 1.319 MB / 0.7067 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.6167, allocations: 6.312 kB / 0.7067 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.6168, allocations: 42.44 kB / 0.7067 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.427e-05/0.6169, allocations: 25.97 kB / 0.7068 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002691/0.6196, allocations: 1.108 MB / 0.7078 GB, free: 3.754 MB / 0.5294 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.008918/0.6285, allocations: 7.573 MB / 0.7152 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00324/0.6318, allocations: 0.8065 MB / 0.716 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006323/0.6324, allocations: 285.7 kB / 0.7163 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001275/0.6337, allocations: 1.722 MB / 0.718 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.6337, allocations: 41.69 kB / 0.718 GB, free: 10.21 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 2.905e-06/0.6337, allocations: 0 / 0.718 GB, free: 10.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.004813/0.6386, allocations: 1.328 MB / 0.7193 GB, free: 9.473 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.6386, allocations: 65.28 kB / 0.7194 GB, free: 9.402 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002318/0.6409, allocations: 1.553 MB / 0.7209 GB, free: 8.555 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.185e-05/0.641, allocations: 37.14 kB / 0.7209 GB, free: 8.516 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005392/0.6416, allocations: 0.6802 MB / 0.7216 GB, free: 7.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.6417, allocations: 172.6 kB / 0.7218 GB, free: 7.762 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002835/0.642, allocations: 173.5 kB / 0.7219 GB, free: 7.652 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.6421, allocations: 331.9 kB / 0.7222 GB, free: 7.328 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009999/0.6431, allocations: 374.7 kB / 0.7226 GB, free: 7.145 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/0.6444, allocations: 0.655 MB / 0.7232 GB, free: 6.582 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001728/0.6461, allocations: 0.9017 MB / 0.7241 GB, free: 5.914 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.6461, allocations: 2.344 kB / 0.7241 GB, free: 5.914 MB / 0.545 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00285/0.649, allocations: 1.195 MB / 0.7253 GB, free: 5.301 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.649, allocations: 8.406 kB / 0.7253 GB, free: 5.301 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.649, allocations: 11.41 kB / 0.7253 GB, free: 5.297 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008289/0.6499, allocations: 214.4 kB / 0.7255 GB, free: 5.191 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007538/0.6506, allocations: 199.2 kB / 0.7257 GB, free: 5.133 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008225/0.6515, allocations: 0.7227 MB / 0.7264 GB, free: 4.496 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/0.6531, allocations: 216.3 kB / 0.7266 GB, free: 4.379 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-05/0.6532, allocations: 43.61 kB / 0.7267 GB, free: 4.367 MB / 0.545 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.0005837/0.6538, allocations: 359.6 kB / 0.727 GB, free: 4.098 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002496/0.6541, allocations: 148.5 kB / 0.7271 GB, free: 4.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002384/0.6565, allocations: 1.147 MB / 0.7283 GB, free: 2.953 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-05/0.6565, allocations: 8 kB / 0.7283 GB, free: 2.945 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.6565, allocations: 0 / 0.7283 GB, free: 2.945 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.6565, allocations: 3.984 kB / 0.7283 GB, free: 2.941 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005023/0.6616, allocations: 2.519 MB / 0.7307 GB, free: 348 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.6616, allocations: 0 / 0.7307 GB, free: 348 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003571/0.662, allocations: 79.89 kB / 0.7308 GB, free: 268 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007215/0.6627, allocations: 224.8 kB / 0.731 GB, free: 40 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.002e-05/0.6627, allocations: 19.98 kB / 0.731 GB, free: 20 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001294/0.664, allocations: 0.7719 MB / 0.7318 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.6641, allocations: 4.031 kB / 0.7318 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003356/0.6674, allocations: 1.203 MB / 0.733 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006034/0.668, allocations: 358.8 kB / 0.7333 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001929/0.6682, allocations: 15.98 kB / 0.7333 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009006/0.6691, allocations: 71.92 kB / 0.7334 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.271e-05/0.6692, allocations: 40.5 kB / 0.7334 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.662e-05/0.6693, allocations: 27.92 kB / 0.7335 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001675/0.671, allocations: 1.094 MB / 0.7345 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.671, allocations: 0 / 0.7345 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00139/0.6724, allocations: 447.4 kB / 0.735 GB, free: 11.93 MB / 0.5606 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.004427/0.6768, allocations: 2.128 MB / 0.737 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002294/0.6791, allocations: 0.886 MB / 0.7379 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6791, allocations: 0 / 0.7379 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001259/0.6804, allocations: 441.1 kB / 0.7383 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00339/0.6838, allocations: 0.7502 MB / 0.7391 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01789/0.7017, allocations: 11.4 MB / 0.7502 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009197/0.7027, allocations: 1.168 MB / 0.7513 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001212/0.7039, allocations: 276.3 kB / 0.7516 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007256/0.7046, allocations: 0.5422 MB / 0.7521 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of SimCode: time 1.052e-06/0.7046, allocations: 0 / 0.7521 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08038/0.785, allocations: 43.81 MB / 0.7949 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.41, allocations: 18.62 kB / 0.7949 GB, free: 14.48 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)