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.0009388/0.0009388, 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.0008741/0.0008741, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.159/1.159, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.8307/0.8307, allocations: 143.1 MB / 433.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001124, allocations: 63.89 kB / 0.5143 GB, free: 11.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.121, allocations: 82.04 MB / 0.5944 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.2434/0.3645, allocations: 70.44 MB / 0.6632 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02007/0.3846, allocations: 18.94 MB / 0.6817 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001859/0.3865, allocations: 66.78 kB / 0.6817 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001988/0.3886, allocations: 0.8312 MB / 0.6825 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006592/0.3952, allocations: 2.851 MB / 0.6853 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003638/0.3988, allocations: 1.639 MB / 0.6869 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004637/0.4035, allocations: 4.036 MB / 0.6909 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002005/0.4055, allocations: 1.452 MB / 0.6923 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003368/0.4089, allocations: 1.768 MB / 0.694 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001881/0.4108, allocations: 1.182 MB / 0.6952 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003344/0.4111, allocations: 176 kB / 0.6953 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002866/0.414, allocations: 1.408 MB / 0.6967 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004275/0.4144, allocations: 392 kB / 0.6971 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00126/0.4157, allocations: 0.9172 MB / 0.698 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004062/0.4197, allocations: 3.246 MB / 0.7012 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.4198, allocations: 0 / 0.7012 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4198, allocations: 0 / 0.7012 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.4e-05/0.4198, allocations: 0.75 kB / 0.7012 GB, free: 7.348 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.003256/0.4231, allocations: 2.035 MB / 0.7031 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.4231, allocations: 9.344 kB / 0.7032 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001708/0.4233, allocations: 155.2 kB / 0.7033 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002051/0.4253, allocations: 451.5 kB / 0.7037 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002118/0.4275, allocations: 1.487 MB / 0.7052 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003331/0.4278, allocations: 134.1 kB / 0.7053 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.4279, allocations: 102 kB / 0.7054 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002171/0.4301, allocations: 1.322 MB / 0.7067 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.4302, allocations: 6.062 kB / 0.7067 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.432e-05/0.4303, allocations: 43.78 kB / 0.7067 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.4303, allocations: 25.59 kB / 0.7068 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002435/0.4327, allocations: 1.108 MB / 0.7079 GB, free: 3.605 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.007175/0.4399, allocations: 7.57 MB / 0.7152 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002848/0.4428, allocations: 0.8026 MB / 0.716 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005465/0.4433, allocations: 296.1 kB / 0.7163 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001154/0.4445, allocations: 1.714 MB / 0.718 GB, free: 10.19 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.4445, allocations: 45.62 kB / 0.718 GB, free: 10.14 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 3.336e-06/0.4445, allocations: 5.359 kB / 0.718 GB, free: 10.14 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.004301/0.4488, allocations: 1.336 MB / 0.7193 GB, free: 9.395 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.4489, allocations: 61.34 kB / 0.7194 GB, free: 9.328 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001992/0.4509, allocations: 1.548 MB / 0.7209 GB, free: 8.484 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.938e-05/0.4509, allocations: 38.58 kB / 0.7209 GB, free: 8.445 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005214/0.4515, allocations: 0.6759 MB / 0.7216 GB, free: 7.844 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.4516, allocations: 171.2 kB / 0.7218 GB, free: 7.695 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002579/0.4519, allocations: 174 kB / 0.7219 GB, free: 7.586 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.452, allocations: 332.6 kB / 0.7223 GB, free: 7.262 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009201/0.4529, allocations: 369.9 kB / 0.7226 GB, free: 7.082 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/0.4541, allocations: 0.6644 MB / 0.7233 GB, free: 6.512 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001608/0.4557, allocations: 0.8945 MB / 0.7241 GB, free: 5.852 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.4557, allocations: 2.719 kB / 0.7241 GB, free: 5.852 MB / 0.545 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002568/0.4583, allocations: 1.197 MB / 0.7253 GB, free: 5.234 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.4583, allocations: 7.188 kB / 0.7253 GB, free: 5.234 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.4583, allocations: 11.81 kB / 0.7253 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007481/0.4591, allocations: 219.2 kB / 0.7255 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006734/0.4597, allocations: 196.7 kB / 0.7257 GB, free: 5.066 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007467/0.4605, allocations: 0.7178 MB / 0.7264 GB, free: 4.434 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.4619, allocations: 223.8 kB / 0.7266 GB, free: 4.309 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-05/0.462, allocations: 40.2 kB / 0.7267 GB, free: 4.301 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.0004399/0.4624, allocations: 358.6 kB / 0.727 GB, free: 4.031 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002136/0.4627, allocations: 146.6 kB / 0.7271 GB, free: 3.957 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002149/0.4648, allocations: 1.151 MB / 0.7283 GB, free: 2.961 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/0.4648, allocations: 7.984 kB / 0.7283 GB, free: 2.953 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.4649, allocations: 0 / 0.7283 GB, free: 2.953 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.4649, allocations: 7.984 kB / 0.7283 GB, free: 2.945 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00448/0.4694, allocations: 2.515 MB / 0.7307 GB, free: 356 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.4694, allocations: 96 / 0.7307 GB, free: 356 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003244/0.4697, allocations: 92 kB / 0.7308 GB, free: 264 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006482/0.4704, allocations: 212.6 kB / 0.731 GB, free: 48 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.672e-05/0.4704, allocations: 19.94 kB / 0.7311 GB, free: 28 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001177/0.4716, allocations: 0.7747 MB / 0.7318 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.4716, allocations: 4.031 kB / 0.7318 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002976/0.4746, allocations: 1.199 MB / 0.733 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004355/0.475, allocations: 358.8 kB / 0.7333 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001938/0.4752, allocations: 12 kB / 0.7333 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008231/0.4761, allocations: 75.91 kB / 0.7334 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.441e-05/0.4761, allocations: 40.5 kB / 0.7334 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.411e-05/0.4762, allocations: 31.98 kB / 0.7335 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001541/0.4778, allocations: 1.086 MB / 0.7345 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4778, allocations: 0 / 0.7345 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001284/0.4791, allocations: 447.4 kB / 0.735 GB, free: 11.94 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.004087/0.4832, allocations: 2.136 MB / 0.7371 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00209/0.4853, allocations: 0.886 MB / 0.7379 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.4853, allocations: 0 / 0.7379 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001152/0.4864, allocations: 441.1 kB / 0.7383 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002706/0.4891, allocations: 0.7468 MB / 0.7391 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0153/0.5044, allocations: 11.39 MB / 0.7502 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007026/0.5052, allocations: 1.176 MB / 0.7513 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009285/0.5061, allocations: 267.8 kB / 0.7516 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006537/0.5068, allocations: 0.5461 MB / 0.7521 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of SimCode: time 3.81e-07/0.5068, allocations: 0 / 0.7521 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06564/0.5724, allocations: 43.82 MB / 0.7949 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/10.62, allocations: 21.89 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 & 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)