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.0007228/0.0007227, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007824/0.0007824, allocations: 176.4 kB / 16.58 MB, free: 6.855 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.218/1.218, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6187/0.6187, allocations: 113.7 MB / 405.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003093/0.0003094, allocations: 8 kB / 493.1 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.13, allocations: 77.11 MB / 0.5569 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.2968/0.4269, allocations: 69.38 MB / 0.6246 GB, free: 12.15 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01575/0.4427, allocations: 11.95 MB / 0.6363 GB, free: 3.473 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002179/0.4449, allocations: 56.31 kB / 0.6364 GB, free: 3.449 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001638/0.4466, allocations: 0.566 MB / 0.6369 GB, free: 2.965 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005362/0.4519, allocations: 1.884 MB / 0.6388 GB, free: 1.453 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002902/0.4548, allocations: 0.9817 MB / 0.6397 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006166/0.461, allocations: 4.797 MB / 0.6444 GB, free: 13.92 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001624/0.4627, allocations: 1.02 MB / 0.6454 GB, free: 13.3 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002508/0.4652, allocations: 1.261 MB / 0.6466 GB, free: 12.62 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001381/0.4666, allocations: 1.062 MB / 0.6477 GB, free: 12.01 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001282/0.4667, allocations: 55.91 kB / 0.6477 GB, free: 12.01 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002335/0.4691, allocations: 0.9458 MB / 0.6486 GB, free: 11.52 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002728/0.4693, allocations: 269 kB / 0.6489 GB, free: 11.32 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004002/0.4697, allocations: 355.6 kB / 0.6492 GB, free: 11.11 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002075/0.4718, allocations: 2.09 MB / 0.6513 GB, free: 9.68 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4718, allocations: 1.25 kB / 0.6513 GB, free: 9.68 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4719, allocations: 3.938 kB / 0.6513 GB, free: 9.676 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.643e-05/0.4719, allocations: 0 / 0.6513 GB, free: 9.676 MB / 478.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.002787/0.4747, allocations: 1.797 MB / 0.653 GB, free: 8.301 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.4747, allocations: 16.02 kB / 0.6531 GB, free: 8.285 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001589/0.4749, allocations: 148 kB / 0.6532 GB, free: 8.133 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006473/0.4755, allocations: 241.8 kB / 0.6534 GB, free: 7.895 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002097/0.4777, allocations: 1.443 MB / 0.6548 GB, free: 6.395 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.023e-05/0.4777, allocations: 78 kB / 0.6549 GB, free: 6.32 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.4779, allocations: 100 kB / 0.655 GB, free: 6.223 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/0.4797, allocations: 1.124 MB / 0.6561 GB, free: 5.062 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.4797, allocations: 3.938 kB / 0.6561 GB, free: 5.059 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.889e-05/0.4798, allocations: 36 kB / 0.6561 GB, free: 5.023 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.249e-05/0.4798, allocations: 28 kB / 0.6562 GB, free: 4.996 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001676/0.4815, allocations: 0.9212 MB / 0.6571 GB, free: 4.078 MB / 478.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.005212/0.4867, allocations: 4.912 MB / 0.6619 GB, free: 14.88 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/0.488, allocations: 0.644 MB / 0.6625 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006485/0.4886, allocations: 374.3 kB / 0.6628 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006063/0.4892, allocations: 0.8277 MB / 0.6637 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.4893, allocations: 43.12 kB / 0.6637 GB, free: 12.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=62): time 2.344e-06/0.4893, allocations: 4 kB / 0.6637 GB, free: 12.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=62): time 0.006141/0.4955, allocations: 1.888 MB / 0.6655 GB, free: 10.88 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.4955, allocations: 71.84 kB / 0.6656 GB, free: 10.79 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001515/0.497, allocations: 1.194 MB / 0.6668 GB, free: 9.582 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.388e-05/0.4971, allocations: 45.7 kB / 0.6668 GB, free: 9.531 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004737/0.4976, allocations: 0.5987 MB / 0.6674 GB, free: 8.926 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/0.4978, allocations: 220.8 kB / 0.6676 GB, free: 8.707 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.4978, allocations: 16 kB / 0.6676 GB, free: 8.691 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.498, allocations: 330 kB / 0.6679 GB, free: 8.363 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005925/0.4986, allocations: 297.8 kB / 0.6682 GB, free: 8.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007427/0.4993, allocations: 0.4989 MB / 0.6687 GB, free: 7.496 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006543/0.5, allocations: 363 kB / 0.6691 GB, free: 7.145 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.5, allocations: 4 kB / 0.6691 GB, free: 7.141 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003943/0.504, allocations: 1.398 MB / 0.6704 GB, free: 5.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001207/0.5041, allocations: 193.2 kB / 0.6706 GB, free: 5.488 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.5041, allocations: 8 kB / 0.6706 GB, free: 5.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006133/0.5047, allocations: 160.7 kB / 0.6708 GB, free: 5.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005595/0.5053, allocations: 171.7 kB / 0.6709 GB, free: 5.152 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007775/0.5061, allocations: 0.7202 MB / 0.6716 GB, free: 4.406 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.5071, allocations: 167.9 kB / 0.6718 GB, free: 4.242 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.376e-05/0.5072, allocations: 39.92 kB / 0.6718 GB, free: 4.203 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.923e-06/0.5072, allocations: 4 kB / 0.6718 GB, free: 4.199 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003696/0.5109, allocations: 1.253 MB / 0.6731 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.5109, allocations: 4 kB / 0.6731 GB, free: 2.938 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005126/0.5115, allocations: 168.9 kB / 0.6732 GB, free: 2.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005246/0.512, allocations: 159.8 kB / 0.6734 GB, free: 2.613 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007225/0.5127, allocations: 0.7248 MB / 0.6741 GB, free: 1.863 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009621/0.5137, allocations: 163.1 kB / 0.6743 GB, free: 1.703 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.966e-05/0.5138, allocations: 35.98 kB / 0.6743 GB, free: 1.668 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005984/0.5144, allocations: 417.6 kB / 0.6747 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/0.5145, allocations: 138.3 kB / 0.6748 GB, free: 1.113 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003973/0.5185, allocations: 1.413 MB / 0.6762 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.5186, allocations: 8 kB / 0.6762 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.5186, allocations: 0 / 0.6762 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003528/0.5221, allocations: 1.24 MB / 0.6774 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005817/0.5279, allocations: 2.75 MB / 0.6801 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.528, allocations: 4 kB / 0.6801 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004432/0.5284, allocations: 123.8 kB / 0.6802 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005383/0.529, allocations: 161.2 kB / 0.6804 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.38e-05/0.529, allocations: 19.98 kB / 0.6804 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007332/0.5298, allocations: 0.7277 MB / 0.6811 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.5298, allocations: 4.062 kB / 0.6811 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004506/0.5343, allocations: 1.848 MB / 0.6829 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005761/0.5349, allocations: 327.2 kB / 0.6832 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/0.535, allocations: 20 kB / 0.6832 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007661/0.5358, allocations: 103.8 kB / 0.6833 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.5359, allocations: 60.25 kB / 0.6834 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-05/0.536, allocations: 27.98 kB / 0.6834 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001165/0.5372, allocations: 0.8621 MB / 0.6843 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5372, allocations: 0 / 0.6843 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001632/0.5388, allocations: 0.7018 MB / 0.685 GB, free: 6.453 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.005531/0.5444, allocations: 2.715 MB / 0.6876 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002439/0.5468, allocations: 1.16 MB / 0.6887 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.896e-06/0.5468, allocations: 4 kB / 0.6887 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008644/0.5477, allocations: 415.2 kB / 0.6891 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003325/0.551, allocations: 0.7552 MB / 0.6899 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01711/0.5682, allocations: 8.349 MB / 0.698 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007183/0.5689, allocations: 1.172 MB / 0.6992 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001268/0.5702, allocations: 303 kB / 0.6995 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006561/0.5709, allocations: 0.511 MB / 0.7 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of SimCode: time 1.182e-06/0.5709, allocations: 0 / 0.7 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06507/0.636, allocations: 41.9 MB / 0.7409 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002566/0.6362, allocations: 250.9 kB / 0.7411 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.456/3.092, allocations: 0 / 0.7411 GB, free: 12.91 MB / 0.5606 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/linux/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) Environment - environmentSimulation: