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.004664/0.004664, allocations: 101 kB / 15.73 MB, free: 6.059 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.001258/0.001258, allocations: 193.5 kB / 16.67 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002534/0.002534, allocations: 281.6 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9852/0.9852, allocations: 169.2 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002744/0.002744, allocations: 95.84 kB / 0.681 GB, free: 7.445 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.3967, allocations: 86.98 MB / 0.7659 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1391/0.5358, allocations: 132.2 MB / 0.895 GB, free: 15.16 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03386/0.5697, allocations: 23.22 MB / 0.9177 GB, free: 7.875 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003663/0.5734, allocations: 127.2 kB / 0.9178 GB, free: 7.75 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003774/0.5772, allocations: 1.494 MB / 0.9193 GB, free: 6.246 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01067/0.5879, allocations: 4.099 MB / 0.9233 GB, free: 2.129 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005443/0.5934, allocations: 2.17 MB / 0.9254 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.009667/0.6031, allocations: 6.548 MB / 0.9318 GB, free: 9.41 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003846/0.6069, allocations: 2.363 MB / 0.9341 GB, free: 6.984 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006607/0.6136, allocations: 2.744 MB / 0.9368 GB, free: 4.238 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003255/0.6168, allocations: 1.899 MB / 0.9386 GB, free: 2.332 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0004942/0.6173, allocations: 248 kB / 0.9389 GB, free: 2.09 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004307/0.6217, allocations: 1.938 MB / 0.9408 GB, free: 152 kB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006648/0.6223, allocations: 0.5992 MB / 0.9413 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001848/0.6242, allocations: 1.458 MB / 0.9428 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006864/0.6311, allocations: 4.408 MB / 0.9471 GB, free: 9.664 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.6311, allocations: 0 / 0.9471 GB, free: 9.664 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6311, allocations: 0 / 0.9471 GB, free: 9.664 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.612e-05/0.6312, allocations: 3.938 kB / 0.9471 GB, free: 9.66 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.005902/0.6371, allocations: 3.284 MB / 0.9503 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.6371, allocations: 12.03 kB / 0.9503 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002869/0.6374, allocations: 224 kB / 0.9505 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004485/0.6419, allocations: 0.8533 MB / 0.9513 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0047/0.6466, allocations: 2.333 MB / 0.9536 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.6468, allocations: 123 kB / 0.9537 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002431/0.647, allocations: 163.9 kB / 0.9539 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004259/0.6513, allocations: 1.926 MB / 0.9558 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.387e-05/0.6513, allocations: 3.938 kB / 0.9558 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001577/0.6515, allocations: 64 kB / 0.9558 GB, free: 460 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-05/0.6515, allocations: 40 kB / 0.9559 GB, free: 420 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3097/0.9612, allocations: 1.798 MB / 0.9576 GB, free: 184 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.01162/0.9729, allocations: 9.015 MB / 0.9664 GB, free: 178 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003941/0.9768, allocations: 1.201 MB / 0.9676 GB, free: 177.6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/0.9779, allocations: 466.5 kB / 0.9681 GB, free: 177.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006904/0.9786, allocations: 1.725 MB / 0.9697 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.9786, allocations: 41.69 kB / 0.9698 GB, free: 175.4 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 3.346e-06/0.9786, allocations: 1.375 kB / 0.9698 GB, free: 175.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.007761/0.9864, allocations: 2.345 MB / 0.9721 GB, free: 174.7 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.9864, allocations: 89.89 kB / 0.9722 GB, free: 174.6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002973/0.9894, allocations: 2.525 MB / 0.9746 GB, free: 173.2 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.54e-05/0.9895, allocations: 49.02 kB / 0.9747 GB, free: 173.2 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006018/0.9901, allocations: 1.055 MB / 0.9757 GB, free: 172.3 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001756/0.9903, allocations: 284.6 kB / 0.976 GB, free: 172.1 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003434/0.9906, allocations: 261 kB / 0.9762 GB, free: 172 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.508e-05/0.9907, allocations: 341.8 kB / 0.9765 GB, free: 171.6 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001521/0.9922, allocations: 0.5726 MB / 0.9771 GB, free: 171.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001702/0.9939, allocations: 0.9555 MB / 0.978 GB, free: 170.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002537/0.9965, allocations: 1.256 MB / 0.9793 GB, free: 169.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.9965, allocations: 0 / 0.9793 GB, free: 169.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005575/1.002, allocations: 2.025 MB / 0.9812 GB, free: 168.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/1.002, allocations: 9.375 kB / 0.9813 GB, free: 168.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.002, allocations: 7.625 kB / 0.9813 GB, free: 168.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001556/1.004, allocations: 498.4 kB / 0.9817 GB, free: 168.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/1.005, allocations: 277.3 kB / 0.982 GB, free: 168.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001735/1.007, allocations: 1.524 MB / 0.9835 GB, free: 166.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002341/1.009, allocations: 369.1 kB / 0.9838 GB, free: 166.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/1.009, allocations: 59.97 kB / 0.9839 GB, free: 166.6 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.0006396/1.01, allocations: 459.5 kB / 0.9843 GB, free: 166.1 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003011/1.01, allocations: 266.2 kB / 0.9846 GB, free: 165.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003091/1.013, allocations: 1.501 MB / 0.9861 GB, free: 164.3 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/1.013, allocations: 12 kB / 0.9861 GB, free: 164.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.013, allocations: 4 kB / 0.9861 GB, free: 164.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/1.013, allocations: 7.984 kB / 0.9861 GB, free: 164.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005961/1.019, allocations: 3.608 MB / 0.9896 GB, free: 160.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/1.019, allocations: 8.812 kB / 0.9896 GB, free: 160.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005316/1.02, allocations: 129.1 kB / 0.9897 GB, free: 160.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001353/1.021, allocations: 497 kB / 0.9902 GB, free: 160 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.486e-05/1.021, allocations: 31.92 kB / 0.9902 GB, free: 160 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002067/1.023, allocations: 1.581 MB / 0.9918 GB, free: 158.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.023, allocations: 7.812 kB / 0.9918 GB, free: 158.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00492/1.028, allocations: 1.964 MB / 0.9937 GB, free: 156.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005855/1.029, allocations: 0.4936 MB / 0.9942 GB, free: 155.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000274/1.029, allocations: 20 kB / 0.9942 GB, free: 155.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001518/1.03, allocations: 135.8 kB / 0.9943 GB, free: 155.7 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.596e-05/1.031, allocations: 63.8 kB / 0.9944 GB, free: 155.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-05/1.031, allocations: 41.61 kB / 0.9944 GB, free: 155.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00217/1.033, allocations: 1.773 MB / 0.9962 GB, free: 153.8 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.91e-07/1.033, allocations: 0 / 0.9962 GB, free: 153.8 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001442/1.034, allocations: 0.6998 MB / 0.9969 GB, free: 153.1 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.00609/1.04, allocations: 3.015 MB / 0.9998 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00353/1.044, allocations: 1.35 MB / 1.001 GB, free: 148.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/1.044, allocations: 0 / 1.001 GB, free: 148.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002086/1.046, allocations: 0.6728 MB / 1.002 GB, free: 148.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005237/1.051, allocations: 1.334 MB / 1.003 GB, free: 146.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02745/1.079, allocations: 16.74 MB / 1.019 GB, free: 129.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006619/1.079, allocations: 1.493 MB / 1.021 GB, free: 128.2 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001619/1.081, allocations: 433.2 kB / 1.021 GB, free: 127.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008834/1.082, allocations: 0.8937 MB / 1.022 GB, free: 126.9 MB / 0.7169 GB Notification: Performance of SimCode: time 8.51e-07/1.082, allocations: 0 / 1.022 GB, free: 126.9 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08965/1.172, allocations: 66.27 MB / 1.087 GB, free: 61.63 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.46/17.63, allocations: 11.67 kB / 1.087 GB, free: 61.62 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)