Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.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.Examples.Carnot_y,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_y",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.0009356/0.0009356, allocations: 98.03 kB / 16.02 MB, free: 80 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.001026/0.001026, allocations: 179.6 kB / 16.92 MB, free: 6.922 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.291/1.291, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6713/0.6713, allocations: 115.5 MB / 407.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003192/0.0003192, allocations: 8 kB / 495.9 MB, free: 6.297 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1277, allocations: 77.53 MB / 0.56 GB, free: 8.969 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.3062/0.4339, allocations: 73.38 MB / 0.6317 GB, free: 5.844 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01661/0.4506, allocations: 12.68 MB / 0.6441 GB, free: 12.21 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001898/0.4525, allocations: 56.88 kB / 0.6441 GB, free: 12.19 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001704/0.4542, allocations: 0.6729 MB / 0.6448 GB, free: 11.61 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005129/0.4594, allocations: 2.269 MB / 0.647 GB, free: 9.781 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002728/0.4621, allocations: 1.274 MB / 0.6482 GB, free: 8.82 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005055/0.4672, allocations: 5.546 MB / 0.6537 GB, free: 5.73 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001428/0.4686, allocations: 1.144 MB / 0.6548 GB, free: 5.023 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001975/0.4706, allocations: 1.316 MB / 0.6561 GB, free: 4.293 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.4718, allocations: 1.123 MB / 0.6572 GB, free: 3.297 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.472, allocations: 52 kB / 0.6572 GB, free: 3.246 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002305/0.4743, allocations: 1.247 MB / 0.6584 GB, free: 1.996 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002526/0.4745, allocations: 286.6 kB / 0.6587 GB, free: 1.715 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006907/0.4752, allocations: 0.7984 MB / 0.6595 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002557/0.4778, allocations: 2.718 MB / 0.6621 GB, free: 14.18 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.4778, allocations: 0 / 0.6621 GB, free: 14.18 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.377e-06/0.4778, allocations: 4 kB / 0.6621 GB, free: 14.18 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.4779, allocations: 0 / 0.6621 GB, free: 14.18 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.002866/0.4807, allocations: 1.785 MB / 0.6639 GB, free: 12.33 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.4808, allocations: 8.031 kB / 0.6639 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001574/0.4809, allocations: 152.1 kB / 0.664 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006982/0.4816, allocations: 242.8 kB / 0.6643 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00201/0.4837, allocations: 1.493 MB / 0.6657 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.73e-05/0.4837, allocations: 82 kB / 0.6658 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.4839, allocations: 96 kB / 0.6659 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001798/0.4857, allocations: 1.124 MB / 0.667 GB, free: 9.043 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.4857, allocations: 4 kB / 0.667 GB, free: 9.039 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.367e-05/0.4858, allocations: 40 kB / 0.667 GB, free: 9 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-05/0.4858, allocations: 24 kB / 0.6671 GB, free: 8.977 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/0.4876, allocations: 0.929 MB / 0.668 GB, free: 8.051 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.004951/0.4926, allocations: 4.904 MB / 0.6728 GB, free: 2.859 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/0.4939, allocations: 0.6525 MB / 0.6734 GB, free: 2.199 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000685/0.4946, allocations: 370.3 kB / 0.6737 GB, free: 1.836 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005371/0.4951, allocations: 0.8316 MB / 0.6746 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.4952, allocations: 39.12 kB / 0.6746 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of pre-optimization done (n=61): time 1.964e-06/0.4952, allocations: 0 / 0.6746 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of matching and sorting (n=61): time 0.006942/0.5021, allocations: 1.885 MB / 0.6764 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.5022, allocations: 63.95 kB / 0.6765 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/0.5036, allocations: 1.206 MB / 0.6777 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.519e-05/0.5037, allocations: 49.64 kB / 0.6777 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004745/0.5042, allocations: 0.5986 MB / 0.6783 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002054/0.5044, allocations: 220.9 kB / 0.6785 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.306e-05/0.5045, allocations: 57.69 kB / 0.6786 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.5046, allocations: 341.9 kB / 0.6789 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006768/0.5053, allocations: 301.8 kB / 0.6792 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008168/0.5061, allocations: 0.496 MB / 0.6797 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/0.5076, allocations: 0.7557 MB / 0.6804 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.5076, allocations: 8 kB / 0.6804 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004854/0.5125, allocations: 1.402 MB / 0.6818 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001161/0.5126, allocations: 198.2 kB / 0.682 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.5126, allocations: 4 kB / 0.682 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005776/0.5132, allocations: 140.8 kB / 0.6821 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006067/0.5138, allocations: 175.6 kB / 0.6823 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008308/0.5146, allocations: 0.7084 MB / 0.683 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.5158, allocations: 164.7 kB / 0.6831 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.821e-05/0.5159, allocations: 35.98 kB / 0.6832 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.917e-06/0.5159, allocations: 8 kB / 0.6832 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004557/0.5205, allocations: 1.245 MB / 0.6844 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.5205, allocations: 4 kB / 0.6844 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005058/0.521, allocations: 145.1 kB / 0.6845 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005889/0.5216, allocations: 167.8 kB / 0.6847 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008205/0.5224, allocations: 0.7122 MB / 0.6854 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.5236, allocations: 159.1 kB / 0.6855 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.541e-05/0.5237, allocations: 35.98 kB / 0.6856 GB, free: 5.195 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0005931/0.5243, allocations: 417 kB / 0.686 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000244/0.5245, allocations: 134.3 kB / 0.6861 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004871/0.5294, allocations: 1.404 MB / 0.6875 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/0.5294, allocations: 15.94 kB / 0.6875 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.5294, allocations: 0 / 0.6875 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004322/0.5338, allocations: 1.232 MB / 0.6887 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006739/0.5405, allocations: 2.731 MB / 0.6914 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/0.5405, allocations: 7.938 kB / 0.6914 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004808/0.541, allocations: 124.2 kB / 0.6915 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004877/0.5415, allocations: 136.7 kB / 0.6916 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.376e-05/0.5416, allocations: 19.94 kB / 0.6916 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004759/0.5463, allocations: 2.435 MB / 0.694 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.5464, allocations: 7.984 kB / 0.694 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005384/0.5517, allocations: 1.852 MB / 0.6958 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005717/0.5523, allocations: 327.1 kB / 0.6961 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/0.5525, allocations: 16 kB / 0.6961 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009319/0.5535, allocations: 103.1 kB / 0.6962 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.5536, allocations: 60.23 kB / 0.6963 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-05/0.5537, allocations: 31.98 kB / 0.6963 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001185/0.5548, allocations: 0.8702 MB / 0.6972 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5549, allocations: 0 / 0.6972 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001733/0.5566, allocations: 0.7096 MB / 0.6979 GB, free: 8.184 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 (56): * Single equations (assignments): 51 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006339/0.5629, allocations: 2.738 MB / 0.7006 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00254/0.5655, allocations: 1.172 MB / 0.7017 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/0.5655, allocations: 4 kB / 0.7017 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001492/0.567, allocations: 0.5878 MB / 0.7023 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004275/0.5713, allocations: 0.7816 MB / 0.703 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02391/0.5952, allocations: 11.2 MB / 0.714 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007527/0.596, allocations: 1.176 MB / 0.7151 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001284/0.5973, allocations: 303 kB / 0.7154 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007361/0.5981, allocations: 0.5188 MB / 0.7159 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of SimCode: time 6.32e-07/0.5981, allocations: 3.938 kB / 0.7159 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4476/1.046, allocations: 42.31 MB / 0.7572 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002438/1.046, allocations: 259.2 kB / 0.7575 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.89/3.936, allocations: 0 / 0.7575 GB, free: 11.02 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_y.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)