Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_y_etaPL",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.0007481/0.0007482, allocations: 93.03 kB / 16.02 MB, free: 84 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.0008453/0.0008453, allocations: 176.4 kB / 16.92 MB, free: 6.68 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.188/1.188, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6192/0.6192, allocations: 115.5 MB / 407.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002634/0.0002635, allocations: 8 kB / 495.9 MB, free: 6.266 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1165, allocations: 77.53 MB / 0.56 GB, free: 8.934 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.2679/0.3844, allocations: 73.39 MB / 0.6317 GB, free: 5.602 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01562/0.4001, allocations: 12.69 MB / 0.6441 GB, free: 12.02 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001585/0.4017, allocations: 57.25 kB / 0.6442 GB, free: 11.99 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001518/0.4032, allocations: 0.6766 MB / 0.6448 GB, free: 11.41 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004593/0.4078, allocations: 2.259 MB / 0.647 GB, free: 9.594 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002504/0.4103, allocations: 1.279 MB / 0.6483 GB, free: 8.621 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00459/0.4149, allocations: 5.547 MB / 0.6537 GB, free: 5.535 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001259/0.4162, allocations: 1.154 MB / 0.6548 GB, free: 4.82 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001694/0.4179, allocations: 1.317 MB / 0.6561 GB, free: 4.09 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.4191, allocations: 1.123 MB / 0.6572 GB, free: 3.125 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.4192, allocations: 56 kB / 0.6572 GB, free: 3.07 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002211/0.4214, allocations: 1.255 MB / 0.6585 GB, free: 1.812 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002552/0.4217, allocations: 298.5 kB / 0.6588 GB, free: 1.52 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006595/0.4223, allocations: 0.7945 MB / 0.6595 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00247/0.4248, allocations: 2.734 MB / 0.6622 GB, free: 13.97 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.4248, allocations: 0 / 0.6622 GB, free: 13.97 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4248, allocations: 0 / 0.6622 GB, free: 13.97 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.469e-05/0.4248, allocations: 0 / 0.6622 GB, free: 13.97 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002795/0.4276, allocations: 1.791 MB / 0.664 GB, free: 12.12 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.4277, allocations: 8.031 kB / 0.664 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001684/0.4279, allocations: 148.1 kB / 0.6641 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006912/0.4286, allocations: 238.8 kB / 0.6643 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001996/0.4306, allocations: 1.495 MB / 0.6658 GB, free: 10.17 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.234e-05/0.4306, allocations: 74 kB / 0.6659 GB, free: 10.1 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.4308, allocations: 103.9 kB / 0.666 GB, free: 10 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.4326, allocations: 1.124 MB / 0.6671 GB, free: 8.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.4326, allocations: 3.906 kB / 0.6671 GB, free: 8.836 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.226e-05/0.4327, allocations: 40 kB / 0.6671 GB, free: 8.797 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.169e-05/0.4328, allocations: 31.94 kB / 0.6671 GB, free: 8.766 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/0.4346, allocations: 0.929 MB / 0.668 GB, free: 7.84 MB / 494.1 MB 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.004975/0.4396, allocations: 4.916 MB / 0.6728 GB, free: 2.637 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.4409, allocations: 0.6601 MB / 0.6735 GB, free: 1.969 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007093/0.4416, allocations: 378.3 kB / 0.6738 GB, free: 1.598 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005511/0.4421, allocations: 0.8238 MB / 0.6746 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.4422, allocations: 43.12 kB / 0.6747 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of pre-optimization done (n=62): time 1.603e-06/0.4422, allocations: 0 / 0.6747 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of matching and sorting (n=62): time 0.007053/0.4492, allocations: 1.896 MB / 0.6765 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.4493, allocations: 59.97 kB / 0.6766 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.4507, allocations: 1.214 MB / 0.6778 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.333e-05/0.4507, allocations: 37.7 kB / 0.6778 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000445/0.4512, allocations: 0.5987 MB / 0.6784 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/0.4514, allocations: 220.8 kB / 0.6786 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.244e-05/0.4514, allocations: 61.69 kB / 0.6787 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.4516, allocations: 334 kB / 0.679 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006531/0.4522, allocations: 305.8 kB / 0.6793 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007931/0.453, allocations: 0.5036 MB / 0.6798 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001391/0.4544, allocations: 0.7511 MB / 0.6805 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4544, allocations: 0 / 0.6805 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004654/0.4591, allocations: 1.421 MB / 0.6819 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.627e-05/0.4592, allocations: 187.6 kB / 0.6821 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.4592, allocations: 4 kB / 0.6821 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006366/0.4599, allocations: 172.7 kB / 0.6822 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005638/0.4604, allocations: 163.7 kB / 0.6824 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007967/0.4612, allocations: 0.7357 MB / 0.6831 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009477/0.4622, allocations: 163.1 kB / 0.6833 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.572e-05/0.4623, allocations: 35.92 kB / 0.6833 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.081e-06/0.4623, allocations: 4 kB / 0.6833 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004419/0.4667, allocations: 1.261 MB / 0.6845 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.4667, allocations: 4.375 kB / 0.6845 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005371/0.4673, allocations: 166.4 kB / 0.6847 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005571/0.4678, allocations: 163.8 kB / 0.6849 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007611/0.4686, allocations: 0.7318 MB / 0.6856 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008882/0.4695, allocations: 161.5 kB / 0.6857 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.044e-05/0.4696, allocations: 28 kB / 0.6858 GB, free: 4.883 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004371/0.47, allocations: 421 kB / 0.6862 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/0.4702, allocations: 134.3 kB / 0.6863 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004711/0.4749, allocations: 1.414 MB / 0.6877 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.4749, allocations: 11.92 kB / 0.6877 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.4749, allocations: 4 kB / 0.6877 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004264/0.4792, allocations: 1.24 MB / 0.6889 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006088/0.4853, allocations: 2.743 MB / 0.6916 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.4853, allocations: 11.97 kB / 0.6916 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004521/0.4858, allocations: 119.8 kB / 0.6917 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005302/0.4863, allocations: 160.7 kB / 0.6919 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.109e-05/0.4864, allocations: 24 kB / 0.6919 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007376/0.4871, allocations: 0.72 MB / 0.6926 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.4871, allocations: 4 kB / 0.6926 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005159/0.4923, allocations: 1.859 MB / 0.6944 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003933/0.4927, allocations: 339 kB / 0.6947 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/0.4928, allocations: 12 kB / 0.6947 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008434/0.4937, allocations: 99.91 kB / 0.6948 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.066e-05/0.4938, allocations: 52.25 kB / 0.6949 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.696e-05/0.4939, allocations: 35.98 kB / 0.6949 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001014/0.4949, allocations: 0.8699 MB / 0.6958 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4949, allocations: 0 / 0.6958 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001414/0.4963, allocations: 0.7018 MB / 0.6964 GB, free: 9.637 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006016/0.5023, allocations: 2.75 MB / 0.6991 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002331/0.5047, allocations: 1.176 MB / 0.7003 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.5047, allocations: 0 / 0.7003 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000834/0.5055, allocations: 415.3 kB / 0.7007 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003794/0.5093, allocations: 0.785 MB / 0.7014 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02256/0.5319, allocations: 11.22 MB / 0.7124 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006749/0.5326, allocations: 1.172 MB / 0.7135 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001148/0.5338, allocations: 302.4 kB / 0.7138 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006589/0.5344, allocations: 0.5188 MB / 0.7143 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of SimCode: time 7.92e-07/0.5344, allocations: 0 / 0.7143 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.825/3.359, allocations: 42.25 MB / 0.7556 GB, free: 13 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002614/3.359, allocations: 271.6 kB / 0.7559 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.022/6.382, allocations: 0 / 0.7559 GB, free: 12.64 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_y_etaPL.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)