Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_8_Buildings_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.001273/0.001273, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001044/0.001044, allocations: 192.7 kB / 16.13 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.244/1.244, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.677/1.677, allocations: 292.3 MB / 0.5484 GB, free: 13.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 66 kB / 0.6709 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1666, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1075/0.2741, allocations: 131.4 MB / 0.9111 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.3542/0.6283, allocations: 23.11 MB / 0.9337 GB, free: 44.68 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003188/0.6316, allocations: 111.4 kB / 0.9338 GB, free: 44.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002757/0.6343, allocations: 1.21 MB / 0.935 GB, free: 44.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.008209/0.6426, allocations: 3.737 MB / 0.9386 GB, free: 44.51 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004088/0.6467, allocations: 1.997 MB / 0.9406 GB, free: 44.46 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.008138/0.6548, allocations: 8.241 MB / 0.9486 GB, free: 44.45 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002723/0.6576, allocations: 1.96 MB / 0.9505 GB, free: 44.2 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004526/0.6621, allocations: 2.376 MB / 0.9529 GB, free: 44 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002151/0.6643, allocations: 1.877 MB / 0.9547 GB, free: 43.64 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002779/0.6646, allocations: 121.2 kB / 0.9548 GB, free: 43.64 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003797/0.6684, allocations: 1.739 MB / 0.9565 GB, free: 43.48 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004034/0.6688, allocations: 491.1 kB / 0.957 GB, free: 43.36 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001309/0.6701, allocations: 1.331 MB / 0.9583 GB, free: 42.93 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004417/0.6745, allocations: 4.25 MB / 0.9624 GB, free: 42.34 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.6745, allocations: 3.625 kB / 0.9624 GB, free: 42.34 MB / 0.7325 GB Notification: Performance of FrontEnd: time 8.82e-07/0.6745, allocations: 1.156 kB / 0.9624 GB, free: 42.34 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.297e-05/0.6746, allocations: 0 / 0.9624 GB, free: 42.34 MB / 0.7325 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.005026/0.6796, allocations: 3.183 MB / 0.9655 GB, free: 40.78 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.6797, allocations: 9.312 kB / 0.9655 GB, free: 40.78 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002384/0.6799, allocations: 224.7 kB / 0.9658 GB, free: 40.73 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004394/0.6843, allocations: 0.8469 MB / 0.9666 GB, free: 40.55 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003528/0.6878, allocations: 2.266 MB / 0.9688 GB, free: 39.93 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009427/0.6888, allocations: 293.8 kB / 0.9691 GB, free: 39.91 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002297/0.689, allocations: 159 kB / 0.9692 GB, free: 39.91 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003666/0.6927, allocations: 1.942 MB / 0.9711 GB, free: 39.68 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.785e-05/0.6928, allocations: 0 / 0.9711 GB, free: 39.68 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001496/0.6929, allocations: 63.28 kB / 0.9712 GB, free: 39.68 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.507e-05/0.6929, allocations: 37.38 kB / 0.9712 GB, free: 39.68 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004314/0.6973, allocations: 1.825 MB / 0.973 GB, free: 39.14 MB / 0.7325 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.009659/0.7069, allocations: 9.055 MB / 0.9819 GB, free: 31.72 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004089/0.711, allocations: 1.187 MB / 0.983 GB, free: 31.11 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009772/0.712, allocations: 463 kB / 0.9835 GB, free: 30.89 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006626/0.7127, allocations: 1.727 MB / 0.9851 GB, free: 28.86 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.7127, allocations: 46.03 kB / 0.9852 GB, free: 28.81 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 2.124e-06/0.7127, allocations: 0 / 0.9852 GB, free: 28.81 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.007665/0.7204, allocations: 2.338 MB / 0.9875 GB, free: 27.55 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.7204, allocations: 89.42 kB / 0.9876 GB, free: 27.45 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003022/0.7235, allocations: 2.518 MB / 0.99 GB, free: 26.12 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.681e-05/0.7236, allocations: 45.98 kB / 0.9901 GB, free: 26.07 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006101/0.7242, allocations: 1.052 MB / 0.9911 GB, free: 25.14 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/0.7244, allocations: 278.8 kB / 0.9913 GB, free: 24.91 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003812/0.7247, allocations: 253.9 kB / 0.9916 GB, free: 24.77 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.244e-05/0.7248, allocations: 350 kB / 0.9919 GB, free: 24.43 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001596/0.7264, allocations: 0.5846 MB / 0.9925 GB, free: 24.15 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00181/0.7282, allocations: 0.9746 MB / 0.9934 GB, free: 23.41 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002664/0.7309, allocations: 1.255 MB / 0.9947 GB, free: 22.59 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.7309, allocations: 10.44 kB / 0.9947 GB, free: 22.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005698/0.7366, allocations: 2.047 MB / 0.9967 GB, free: 21.58 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.7366, allocations: 10.89 kB / 0.9967 GB, free: 21.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.7367, allocations: 7.688 kB / 0.9967 GB, free: 21.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001588/0.7383, allocations: 0.4933 MB / 0.9972 GB, free: 21.31 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.7394, allocations: 286.6 kB / 0.9975 GB, free: 21.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001705/0.7411, allocations: 1.519 MB / 0.9989 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002789/0.7439, allocations: 439.2 kB / 0.9994 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.7441, allocations: 63.34 kB / 0.9994 GB, free: 19.69 MB / 0.7325 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.0006101/0.7447, allocations: 458.4 kB / 0.9999 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003315/0.745, allocations: 248.6 kB / 1 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003174/0.7482, allocations: 1.509 MB / 1.002 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/0.7482, allocations: 14.3 kB / 1.002 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.7482, allocations: 0 / 1.002 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.7482, allocations: 3.984 kB / 1.002 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006358/0.7546, allocations: 3.604 MB / 1.005 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.7546, allocations: 6.922 kB / 1.005 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005832/0.7552, allocations: 132.2 kB / 1.005 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001464/0.7567, allocations: 493.8 kB / 1.006 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.924e-05/0.7568, allocations: 27.2 kB / 1.006 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002137/0.7589, allocations: 1.584 MB / 1.007 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.7589, allocations: 2.344 kB / 1.007 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005171/0.7641, allocations: 1.94 MB / 1.009 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006305/0.7647, allocations: 497.5 kB / 1.01 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003163/0.7651, allocations: 19.94 kB / 1.01 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00176/0.7668, allocations: 175.7 kB / 1.01 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.381e-05/0.7669, allocations: 55.86 kB / 1.01 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.642e-05/0.767, allocations: 39.97 kB / 1.01 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002251/0.7693, allocations: 1.777 MB / 1.012 GB, free: 9.926 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7693, allocations: 0 / 1.012 GB, free: 9.926 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001609/0.7709, allocations: 0.6789 MB / 1.012 GB, free: 9.246 MB / 0.7325 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.006126/0.777, allocations: 2.991 MB / 1.015 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003463/0.7805, allocations: 1.354 MB / 1.017 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.7805, allocations: 4.062 kB / 1.017 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002047/0.7826, allocations: 0.6783 MB / 1.017 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004992/0.7876, allocations: 1.275 MB / 1.018 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03997/0.8275, allocations: 19.81 MB / 1.038 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009504/0.8285, allocations: 1.482 MB / 1.039 GB, free: 12.26 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001976/0.8305, allocations: 442.8 kB / 1.04 GB, free: 11.83 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001118/0.8316, allocations: 0.9015 MB / 1.041 GB, free: 10.93 MB / 0.7637 GB Notification: Performance of SimCode: time 4.31e-07/0.8316, allocations: 0 / 1.041 GB, free: 10.93 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7536/1.585, allocations: 66.26 MB / 1.105 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002413/1.586, allocations: 278.2 kB / 1.106 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.577/5.163, allocations: 0 / 1.106 GB, free: 9.254 MB / 0.8262 GB (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)