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.007265/0.007265, allocations: 97.56 kB / 15.73 MB, free: 6.02 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.001678/0.001678, allocations: 190.5 kB / 16.67 MB, free: 5.938 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00206/0.00206, allocations: 296.7 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9105/0.9105, allocations: 169.2 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 87.86 kB / 0.681 GB, free: 7.457 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3855/0.3872, allocations: 86.98 MB / 0.7659 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1134/0.5006, allocations: 132.2 MB / 0.895 GB, free: 15.17 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03011/0.5308, allocations: 23.21 MB / 0.9177 GB, free: 7.898 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0045/0.5353, allocations: 127.2 kB / 0.9178 GB, free: 7.773 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003895/0.5392, allocations: 1.541 MB / 0.9193 GB, free: 6.223 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01003/0.5493, allocations: 4.317 MB / 0.9235 GB, free: 1.887 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004716/0.554, allocations: 2.166 MB / 0.9257 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.007973/0.562, allocations: 6.577 MB / 0.9321 GB, free: 9.145 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003151/0.5652, allocations: 2.351 MB / 0.9344 GB, free: 6.73 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005531/0.5707, allocations: 2.819 MB / 0.9371 GB, free: 3.91 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002536/0.5733, allocations: 1.89 MB / 0.939 GB, free: 2.012 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0004002/0.5737, allocations: 248 kB / 0.9392 GB, free: 1.77 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003915/0.5776, allocations: 1.942 MB / 0.9411 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00052/0.5781, allocations: 0.5914 MB / 0.9417 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00163/0.5798, allocations: 1.473 MB / 0.9431 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006136/0.5859, allocations: 4.404 MB / 0.9474 GB, free: 9.336 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.5859, allocations: 0 / 0.9474 GB, free: 9.336 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.586, allocations: 0 / 0.9474 GB, free: 9.336 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.598e-05/0.586, allocations: 0 / 0.9474 GB, free: 9.336 MB / 0.7169 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.005626/0.5916, allocations: 3.278 MB / 0.9506 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.5917, allocations: 12.03 kB / 0.9506 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002322/0.5919, allocations: 219.9 kB / 0.9508 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004334/0.5963, allocations: 0.865 MB / 0.9517 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004147/0.6004, allocations: 2.329 MB / 0.954 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.901e-05/0.6006, allocations: 123 kB / 0.9541 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00023/0.6008, allocations: 164 kB / 0.9542 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003875/0.6047, allocations: 1.919 MB / 0.9561 GB, free: 200 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.066e-05/0.6047, allocations: 0 / 0.9561 GB, free: 200 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001482/0.6049, allocations: 64 kB / 0.9562 GB, free: 136 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.05e-05/0.6049, allocations: 36 kB / 0.9562 GB, free: 100 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.306/0.9109, allocations: 1.806 MB / 0.958 GB, free: 184.4 MB / 0.7169 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.01204/0.923, allocations: 9.014 MB / 0.9668 GB, free: 178.4 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004235/0.9273, allocations: 1.199 MB / 0.9679 GB, free: 178.1 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/0.9283, allocations: 459.6 kB / 0.9684 GB, free: 177.9 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007302/0.9291, allocations: 1.731 MB / 0.9701 GB, free: 175.9 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.9291, allocations: 38.62 kB / 0.9701 GB, free: 175.9 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.334e-06/0.9291, allocations: 0 / 0.9701 GB, free: 175.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.00816/0.9373, allocations: 2.351 MB / 0.9724 GB, free: 175.1 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.9373, allocations: 85.05 kB / 0.9725 GB, free: 175 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003073/0.9404, allocations: 2.527 MB / 0.975 GB, free: 173.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.882e-05/0.9405, allocations: 47.25 kB / 0.975 GB, free: 173.6 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006122/0.9411, allocations: 1.057 MB / 0.976 GB, free: 172.7 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/0.9413, allocations: 282.2 kB / 0.9763 GB, free: 172.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003587/0.9417, allocations: 260 kB / 0.9765 GB, free: 172.4 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.622e-05/0.9418, allocations: 345.8 kB / 0.9769 GB, free: 172 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001599/0.9434, allocations: 0.5723 MB / 0.9774 GB, free: 171.8 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001781/0.9451, allocations: 0.9497 MB / 0.9784 GB, free: 171 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00261/0.9478, allocations: 1.255 MB / 0.9796 GB, free: 170.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.9478, allocations: 3.656 kB / 0.9796 GB, free: 170.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005902/0.9537, allocations: 2.025 MB / 0.9816 GB, free: 169.3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.9537, allocations: 9.656 kB / 0.9816 GB, free: 169.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.9538, allocations: 11.5 kB / 0.9816 GB, free: 169.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001683/0.9554, allocations: 495.8 kB / 0.9821 GB, free: 169 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.9566, allocations: 281.7 kB / 0.9823 GB, free: 168.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.9584, allocations: 1.523 MB / 0.9838 GB, free: 167.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002562/0.9609, allocations: 370.5 kB / 0.9842 GB, free: 166.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.9611, allocations: 59.97 kB / 0.9842 GB, free: 166.8 MB / 0.7169 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.000703/0.9618, allocations: 457.5 kB / 0.9847 GB, free: 166.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003359/0.9621, allocations: 266.2 kB / 0.9849 GB, free: 166.1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003144/0.9653, allocations: 1.504 MB / 0.9864 GB, free: 164.6 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/0.9653, allocations: 12.09 kB / 0.9864 GB, free: 164.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.9653, allocations: 8.812 kB / 0.9864 GB, free: 164.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.9653, allocations: 3.984 kB / 0.9864 GB, free: 164.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006348/0.9717, allocations: 3.617 MB / 0.9899 GB, free: 160.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.9717, allocations: 4 kB / 0.9899 GB, free: 160.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005823/0.9723, allocations: 127.8 kB / 0.9901 GB, free: 160.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001449/0.9737, allocations: 495.5 kB / 0.9905 GB, free: 160.2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.483e-05/0.9738, allocations: 35.16 kB / 0.9906 GB, free: 160.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002176/0.976, allocations: 1.578 MB / 0.9921 GB, free: 158.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.976, allocations: 7.984 kB / 0.9921 GB, free: 158.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005357/0.9814, allocations: 1.96 MB / 0.994 GB, free: 156.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008159/0.9822, allocations: 0.4951 MB / 0.9945 GB, free: 156 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003059/0.9825, allocations: 16 kB / 0.9945 GB, free: 156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00166/0.9842, allocations: 139.8 kB / 0.9947 GB, free: 155.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.329e-05/0.9843, allocations: 59.81 kB / 0.9947 GB, free: 155.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.028e-05/0.9843, allocations: 43.95 kB / 0.9948 GB, free: 155.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002317/0.9867, allocations: 1.776 MB / 0.9965 GB, free: 154 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9867, allocations: 0 / 0.9965 GB, free: 154 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001557/0.9882, allocations: 0.6979 MB / 0.9972 GB, free: 153.3 MB / 0.7169 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.006261/0.9945, allocations: 3.019 MB / 1 GB, free: 150.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003667/0.9982, allocations: 1.342 MB / 1.001 GB, free: 148.9 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.9982, allocations: 0 / 1.001 GB, free: 148.9 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002145/1, allocations: 0.6767 MB / 1.002 GB, free: 148.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005191/1.006, allocations: 1.324 MB / 1.003 GB, free: 147 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02776/1.033, allocations: 16.74 MB / 1.02 GB, free: 129.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006524/1.034, allocations: 1.49 MB / 1.021 GB, free: 128.3 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001657/1.036, allocations: 440 kB / 1.022 GB, free: 127.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009127/1.037, allocations: 0.9015 MB / 1.022 GB, free: 126.9 MB / 0.7169 GB Notification: Performance of SimCode: time 8.92e-07/1.037, allocations: 0 / 1.022 GB, free: 126.9 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08837/1.125, allocations: 66.26 MB / 1.087 GB, free: 61.69 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.35/16.47, allocations: 7.75 kB / 1.087 GB, free: 61.68 MB / 0.7169 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)