Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",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.001302/0.001302, 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.001344/0.001344, allocations: 194.9 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.439/1.439, allocations: 222.9 MB / 240.2 MB, free: 4.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002506/0.002506, allocations: 282.5 kB / 290.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.061/1.061, allocations: 178.6 MB / 0.5073 GB, free: 4.559 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002854/0.002855, allocations: 101.1 kB / 0.6065 GB, free: 24.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1464, allocations: 89.14 MB / 0.6936 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.379/0.5255, allocations: 132.2 MB / 0.8227 GB, free: 1.391 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.033/0.5585, allocations: 23.24 MB / 0.8454 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004187/0.5628, allocations: 124.8 kB / 0.8455 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004186/0.567, allocations: 1.497 MB / 0.847 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01083/0.5778, allocations: 4.094 MB / 0.851 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005586/0.5834, allocations: 2.162 MB / 0.8531 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008736/0.5922, allocations: 6.527 MB / 0.8595 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003861/0.5961, allocations: 2.354 MB / 0.8618 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006306/0.6024, allocations: 2.745 MB / 0.8644 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003543/0.606, allocations: 1.886 MB / 0.8663 GB, free: 264 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007565/0.6068, allocations: 252 kB / 0.8665 GB, free: 12 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005051/0.6118, allocations: 1.934 MB / 0.8684 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008875/0.6127, allocations: 0.5992 MB / 0.869 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002601/0.6153, allocations: 1.458 MB / 0.8704 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007022/0.6224, allocations: 4.312 MB / 0.8746 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.6224, allocations: 0 / 0.8746 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6224, allocations: 0 / 0.8746 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.223e-05/0.6225, allocations: 4 kB / 0.8746 GB, free: 7.68 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.006583/0.6291, allocations: 3.18 MB / 0.8777 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.6291, allocations: 8.031 kB / 0.8777 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002997/0.6294, allocations: 224 kB / 0.878 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004684/0.6341, allocations: 0.8402 MB / 0.8788 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004461/0.6386, allocations: 2.21 MB / 0.8809 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001055/0.6397, allocations: 290.8 kB / 0.8812 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002677/0.64, allocations: 167.9 kB / 0.8814 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00435/0.6443, allocations: 1.93 MB / 0.8833 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.141e-05/0.6444, allocations: 7.938 kB / 0.8833 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001583/0.6445, allocations: 60 kB / 0.8833 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.645e-05/0.6446, allocations: 40 kB / 0.8834 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00511/0.6497, allocations: 1.827 MB / 0.8851 GB, free: 12.67 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.01418/0.6639, allocations: 9.09 MB / 0.894 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004628/0.6685, allocations: 1.184 MB / 0.8952 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001197/0.6698, allocations: 470.1 kB / 0.8956 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001501/0.6713, allocations: 1.722 MB / 0.8973 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.919e-05/0.6713, allocations: 46.31 kB / 0.8974 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.595e-06/0.6714, allocations: 3.938 kB / 0.8974 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.009219/0.6806, allocations: 2.333 MB / 0.8996 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/0.6807, allocations: 85.11 kB / 0.8997 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004341/0.685, allocations: 2.544 MB / 0.9022 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000119/0.6852, allocations: 45.7 kB / 0.9022 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001023/0.6862, allocations: 1.038 MB / 0.9033 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003076/0.6865, allocations: 272.1 kB / 0.9035 GB, free: 8.723 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004455/0.6869, allocations: 254.6 kB / 0.9038 GB, free: 8.469 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.6871, allocations: 349.9 kB / 0.9041 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001937/0.6891, allocations: 0.5803 MB / 0.9047 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002304/0.6914, allocations: 0.9777 MB / 0.9056 GB, free: 6.41 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003281/0.6947, allocations: 1.26 MB / 0.9068 GB, free: 5.051 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/0.6947, allocations: 4 kB / 0.9068 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007041/0.7017, allocations: 2.051 MB / 0.9089 GB, free: 2.977 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.7018, allocations: 8.625 kB / 0.9089 GB, free: 2.969 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.7018, allocations: 8 kB / 0.9089 GB, free: 2.961 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001896/0.7037, allocations: 0.4893 MB / 0.9093 GB, free: 2.465 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.705, allocations: 283.6 kB / 0.9096 GB, free: 2.188 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002455/0.7075, allocations: 1.524 MB / 0.9111 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002892/0.7104, allocations: 390.7 kB / 0.9115 GB, free: 236 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/0.7105, allocations: 59.97 kB / 0.9115 GB, free: 176 kB / 0.6231 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.000893/0.7114, allocations: 461.5 kB / 0.912 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004625/0.7119, allocations: 252.9 kB / 0.9122 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003931/0.7158, allocations: 1.507 MB / 0.9137 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.016e-05/0.7159, allocations: 19.88 kB / 0.9137 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.7159, allocations: 4 kB / 0.9137 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.7159, allocations: 3.984 kB / 0.9137 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007953/0.7239, allocations: 3.63 MB / 0.9173 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.7239, allocations: 4 kB / 0.9173 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006305/0.7245, allocations: 128.2 kB / 0.9174 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001708/0.7263, allocations: 499.3 kB / 0.9179 GB, free: 9.551 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.069e-05/0.7263, allocations: 23.98 kB / 0.9179 GB, free: 9.527 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002874/0.7292, allocations: 1.585 MB / 0.9194 GB, free: 7.891 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.7292, allocations: 4 kB / 0.9194 GB, free: 7.887 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006378/0.7356, allocations: 1.928 MB / 0.9213 GB, free: 5.891 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/0.7367, allocations: 497.5 kB / 0.9218 GB, free: 5.383 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003342/0.7371, allocations: 16 kB / 0.9218 GB, free: 5.367 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001766/0.7388, allocations: 143.8 kB / 0.9219 GB, free: 5.227 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.7389, allocations: 63.8 kB / 0.922 GB, free: 5.164 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.361e-05/0.739, allocations: 39.97 kB / 0.922 GB, free: 5.125 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003425/0.7425, allocations: 1.793 MB / 0.9238 GB, free: 3.328 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7425, allocations: 0 / 0.9238 GB, free: 3.328 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002106/0.7446, allocations: 0.6867 MB / 0.9245 GB, free: 2.641 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007812/0.7524, allocations: 3.012 MB / 0.9274 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00461/0.7571, allocations: 1.392 MB / 0.9288 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.7571, allocations: 4.062 kB / 0.9288 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002577/0.7597, allocations: 0.6743 MB / 0.9294 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006176/0.7659, allocations: 1.333 MB / 0.9307 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03797/0.8038, allocations: 19.24 MB / 0.9495 GB, free: 7.465 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00117/0.805, allocations: 1.486 MB / 0.951 GB, free: 5.945 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001948/0.807, allocations: 438.7 kB / 0.9514 GB, free: 5.52 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001244/0.8082, allocations: 0.9014 MB / 0.9523 GB, free: 4.617 MB / 0.67 GB Notification: Performance of SimCode: time 6.11e-07/0.8083, allocations: 0 / 0.9523 GB, free: 4.617 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1228/0.931, allocations: 68.57 MB / 1.019 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/13.89, allocations: 8.062 kB / 1.019 GB, free: 0.9648 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)