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.004706/0.004706, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001106/0.001106, allocations: 201 kB / 16.68 MB, free: 5.969 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.271/1.271, allocations: 222.9 MB / 240.4 MB, free: 4.348 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.9424/0.9424, allocations: 143 MB / 433.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 64.12 kB / 0.595 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3568, allocations: 82.03 MB / 0.6752 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06096/0.4178, allocations: 70.45 MB / 0.744 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02131/0.4392, allocations: 18.94 MB / 0.7625 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002091/0.4413, allocations: 71.56 kB / 0.7625 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001858/0.4432, allocations: 0.8424 MB / 0.7633 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006471/0.4497, allocations: 3.005 MB / 0.7663 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003427/0.4531, allocations: 1.648 MB / 0.7679 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004368/0.4575, allocations: 4.066 MB / 0.7719 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001958/0.4594, allocations: 1.453 MB / 0.7733 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003562/0.463, allocations: 1.809 MB / 0.775 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001939/0.465, allocations: 1.186 MB / 0.7762 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003896/0.4654, allocations: 176 kB / 0.7764 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002883/0.4683, allocations: 1.416 MB / 0.7778 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004848/0.4688, allocations: 390.6 kB / 0.7781 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001334/0.4701, allocations: 0.9138 MB / 0.779 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004365/0.4745, allocations: 3.295 MB / 0.7822 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.4745, allocations: 0 / 0.7822 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.412e-06/0.4745, allocations: 0 / 0.7822 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.316e-05/0.4746, allocations: 0 / 0.7822 GB, free: 8.582 MB / 0.6075 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.003724/0.4783, allocations: 2.094 MB / 0.7843 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.4783, allocations: 8.031 kB / 0.7843 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001546/0.4785, allocations: 156.6 kB / 0.7844 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002183/0.4807, allocations: 459.1 kB / 0.7849 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002372/0.4831, allocations: 1.556 MB / 0.7864 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.16e-05/0.4832, allocations: 86.03 kB / 0.7865 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.4833, allocations: 104 kB / 0.7866 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00236/0.4857, allocations: 1.309 MB / 0.7879 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/0.4857, allocations: 7.938 kB / 0.7879 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.4858, allocations: 44 kB / 0.7879 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/0.4858, allocations: 28 kB / 0.7879 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002587/0.4884, allocations: 1.097 MB / 0.789 GB, free: 1.41 MB / 0.6075 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.008039/0.4965, allocations: 7.519 MB / 0.7964 GB, free: 9.379 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003046/0.4995, allocations: 0.8062 MB / 0.7971 GB, free: 8.566 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005892/0.5001, allocations: 285.9 kB / 0.7974 GB, free: 8.281 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/0.5012, allocations: 1.726 MB / 0.7991 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.5013, allocations: 46.94 kB / 0.7991 GB, free: 6.113 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=48): time 2.104e-06/0.5013, allocations: 0 / 0.7991 GB, free: 6.113 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.004539/0.5058, allocations: 1.339 MB / 0.8004 GB, free: 4.746 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.5059, allocations: 55.84 kB / 0.8005 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002176/0.5081, allocations: 1.549 MB / 0.802 GB, free: 3.121 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.725e-05/0.5081, allocations: 37.7 kB / 0.8021 GB, free: 3.078 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005275/0.5087, allocations: 0.6818 MB / 0.8027 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.5088, allocations: 178.5 kB / 0.8029 GB, free: 2.215 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002698/0.5091, allocations: 174.5 kB / 0.8031 GB, free: 2.035 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.5092, allocations: 334 kB / 0.8034 GB, free: 1.703 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009543/0.5102, allocations: 361.8 kB / 0.8037 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/0.5113, allocations: 0.6546 MB / 0.8044 GB, free: 0.5664 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001725/0.5131, allocations: 0.8907 MB / 0.8052 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.5131, allocations: 4 kB / 0.8052 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00281/0.5159, allocations: 1.202 MB / 0.8064 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.5159, allocations: 11.98 kB / 0.8064 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.5159, allocations: 8 kB / 0.8064 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008202/0.5168, allocations: 216.6 kB / 0.8066 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007712/0.5176, allocations: 195.7 kB / 0.8068 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008055/0.5184, allocations: 0.7279 MB / 0.8075 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.5198, allocations: 219 kB / 0.8077 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.839e-05/0.5199, allocations: 47.98 kB / 0.8078 GB, free: 12.91 MB / 0.6387 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.0004774/0.5204, allocations: 353.6 kB / 0.8081 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002581/0.5207, allocations: 159 kB / 0.8083 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002292/0.523, allocations: 1.132 MB / 0.8094 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/0.523, allocations: 12 kB / 0.8094 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.523, allocations: 0 / 0.8094 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.523, allocations: 4.078 kB / 0.8094 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004974/0.528, allocations: 2.529 MB / 0.8119 GB, free: 8.641 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.528, allocations: 0 / 0.8119 GB, free: 8.641 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003567/0.5284, allocations: 83.88 kB / 0.8119 GB, free: 8.559 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007154/0.5291, allocations: 220.7 kB / 0.8122 GB, free: 8.34 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-05/0.5292, allocations: 19.94 kB / 0.8122 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001249/0.5304, allocations: 0.7747 MB / 0.8129 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.5304, allocations: 4.031 kB / 0.8129 GB, free: 7.516 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003238/0.5337, allocations: 1.208 MB / 0.8141 GB, free: 6.27 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005387/0.5342, allocations: 367.7 kB / 0.8145 GB, free: 5.891 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002369/0.5345, allocations: 12 kB / 0.8145 GB, free: 5.879 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000962/0.5354, allocations: 79.91 kB / 0.8145 GB, free: 5.801 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.979e-05/0.5355, allocations: 40.44 kB / 0.8146 GB, free: 5.762 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-05/0.5356, allocations: 27.98 kB / 0.8146 GB, free: 5.734 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001639/0.5372, allocations: 1.082 MB / 0.8157 GB, free: 4.656 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.81e-07/0.5372, allocations: 0 / 0.8157 GB, free: 4.656 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001195/0.5384, allocations: 443.1 kB / 0.8161 GB, free: 4.223 MB / 0.6387 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.004356/0.5428, allocations: 2.14 MB / 0.8182 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002093/0.5449, allocations: 0.8447 MB / 0.819 GB, free: 1.203 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.5449, allocations: 96 / 0.819 GB, free: 1.203 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00127/0.5462, allocations: 447.5 kB / 0.8194 GB, free: 0.7695 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00296/0.5492, allocations: 0.7361 MB / 0.8202 GB, free: 44 kB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01657/0.5658, allocations: 10.51 MB / 0.8304 GB, free: 5.156 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006877/0.5665, allocations: 1.168 MB / 0.8316 GB, free: 3.953 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001016/0.5675, allocations: 266.1 kB / 0.8318 GB, free: 3.699 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007332/0.5683, allocations: 0.5461 MB / 0.8323 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of SimCode: time 7.51e-07/0.5683, allocations: 0 / 0.8323 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3578/0.9261, allocations: 44.11 MB / 0.8754 GB, free: 176.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.64, allocations: 7.469 kB / 0.8754 GB, free: 176.9 MB / 0.6856 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)