Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="IDEAS_IDEAS_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.001038/0.001038, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005282/0.005282, allocations: 168.6 kB / 16.26 MB, free: 6.652 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.249/1.249, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7217/0.7217, allocations: 132.3 MB / 423.7 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003074/0.0003074, allocations: 9.281 kB / 0.5041 GB, free: 3.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3607, allocations: 81.57 MB / 0.5837 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.06682/0.4276, allocations: 73.39 MB / 0.6554 GB, free: 6.871 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01663/0.4443, allocations: 12.66 MB / 0.6678 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001983/0.4463, allocations: 55.62 kB / 0.6678 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001718/0.448, allocations: 0.6721 MB / 0.6685 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005437/0.4535, allocations: 2.269 MB / 0.6707 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002817/0.4563, allocations: 1.264 MB / 0.6719 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005707/0.462, allocations: 5.538 MB / 0.6773 GB, free: 372 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001651/0.4637, allocations: 1.151 MB / 0.6785 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002381/0.4661, allocations: 1.322 MB / 0.6798 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001255/0.4674, allocations: 1.132 MB / 0.6809 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.4675, allocations: 56 kB / 0.6809 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002511/0.47, allocations: 1.243 MB / 0.6821 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002854/0.4703, allocations: 286.6 kB / 0.6824 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008036/0.4711, allocations: 0.8022 MB / 0.6832 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003066/0.4742, allocations: 2.71 MB / 0.6858 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4742, allocations: 0 / 0.6858 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.282e-06/0.4742, allocations: 0 / 0.6858 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.723e-05/0.4742, allocations: 4 kB / 0.6858 GB, free: 7.602 MB / 0.5137 GB 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.003015/0.4773, allocations: 1.78 MB / 0.6876 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.4773, allocations: 8.031 kB / 0.6876 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001701/0.4775, allocations: 156.1 kB / 0.6877 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007057/0.4782, allocations: 238.9 kB / 0.688 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002136/0.4803, allocations: 1.504 MB / 0.6894 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.917e-05/0.4804, allocations: 74 kB / 0.6895 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.4805, allocations: 100 kB / 0.6896 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001891/0.4824, allocations: 1.12 MB / 0.6907 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.4825, allocations: 0 / 0.6907 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.738e-05/0.4826, allocations: 44 kB / 0.6907 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.79e-05/0.4826, allocations: 24 kB / 0.6908 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/0.4844, allocations: 0.9251 MB / 0.6917 GB, free: 1.477 MB / 0.5137 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.005302/0.4898, allocations: 4.915 MB / 0.6965 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/0.4911, allocations: 0.6478 MB / 0.6971 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007048/0.4918, allocations: 363.1 kB / 0.6974 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005734/0.4924, allocations: 0.8238 MB / 0.6982 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.4924, allocations: 39.12 kB / 0.6983 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.154e-06/0.4924, allocations: 0 / 0.6983 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007036/0.4995, allocations: 1.889 MB / 0.7001 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.4995, allocations: 63.95 kB / 0.7002 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00152/0.5011, allocations: 1.202 MB / 0.7014 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.586e-05/0.5011, allocations: 49.64 kB / 0.7014 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004885/0.5016, allocations: 0.6025 MB / 0.702 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.5018, allocations: 216.9 kB / 0.7022 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.485e-05/0.5019, allocations: 61.67 kB / 0.7023 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.936e-05/0.502, allocations: 337.9 kB / 0.7026 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006464/0.5027, allocations: 305.8 kB / 0.7029 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007828/0.5035, allocations: 0.4975 MB / 0.7034 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.5049, allocations: 0.7558 MB / 0.7041 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.5049, allocations: 0 / 0.7041 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004594/0.5095, allocations: 1.402 MB / 0.7055 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.5096, allocations: 211.7 kB / 0.7057 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.5096, allocations: 0 / 0.7057 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005486/0.5102, allocations: 144.7 kB / 0.7058 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005728/0.5108, allocations: 171.7 kB / 0.706 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007712/0.5115, allocations: 0.7117 MB / 0.7067 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/0.5126, allocations: 163.1 kB / 0.7068 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.106e-05/0.5127, allocations: 35.98 kB / 0.7069 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.682e-06/0.5127, allocations: 4 kB / 0.7069 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004365/0.517, allocations: 1.25 MB / 0.7081 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.5171, allocations: 8.031 kB / 0.7081 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004655/0.5175, allocations: 136.7 kB / 0.7082 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005442/0.5181, allocations: 171.8 kB / 0.7084 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007385/0.5188, allocations: 0.7122 MB / 0.7091 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009817/0.5198, allocations: 163.2 kB / 0.7092 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.283e-05/0.5199, allocations: 31.98 kB / 0.7093 GB, free: 14.63 MB / 0.545 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.000546/0.5204, allocations: 413.6 kB / 0.7097 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/0.5206, allocations: 134.5 kB / 0.7098 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004577/0.5252, allocations: 1.412 MB / 0.7112 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.5252, allocations: 12 kB / 0.7112 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5252, allocations: 0 / 0.7112 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004149/0.5294, allocations: 1.228 MB / 0.7124 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006498/0.5359, allocations: 2.739 MB / 0.715 GB, free: 8.539 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/0.5359, allocations: 7.938 kB / 0.7151 GB, free: 8.531 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004671/0.5364, allocations: 128.2 kB / 0.7152 GB, free: 8.406 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004608/0.5369, allocations: 132.7 kB / 0.7153 GB, free: 8.273 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.544e-05/0.5369, allocations: 31.86 kB / 0.7153 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004693/0.5416, allocations: 2.439 MB / 0.7177 GB, free: 5.652 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.5416, allocations: 4 kB / 0.7177 GB, free: 5.648 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005573/0.5472, allocations: 1.848 MB / 0.7195 GB, free: 3.727 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000743/0.548, allocations: 331.2 kB / 0.7198 GB, free: 3.383 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002518/0.5483, allocations: 16.28 kB / 0.7199 GB, free: 3.367 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009858/0.5492, allocations: 99.69 kB / 0.72 GB, free: 3.27 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.5494, allocations: 64.23 kB / 0.72 GB, free: 3.207 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.564e-05/0.5495, allocations: 31.98 kB / 0.72 GB, free: 3.176 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001176/0.5506, allocations: 0.8699 MB / 0.7209 GB, free: 2.305 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5506, allocations: 0 / 0.7209 GB, free: 2.305 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001832/0.5525, allocations: 0.7018 MB / 0.7216 GB, free: 1.602 MB / 0.545 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.006422/0.5589, allocations: 2.726 MB / 0.7242 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002583/0.5615, allocations: 1.168 MB / 0.7254 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/0.5615, allocations: 4 kB / 0.7254 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001494/0.563, allocations: 0.5956 MB / 0.726 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004252/0.5673, allocations: 0.787 MB / 0.7267 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0238/0.5911, allocations: 11.18 MB / 0.7376 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007784/0.5919, allocations: 1.173 MB / 0.7388 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001283/0.5932, allocations: 307 kB / 0.7391 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007253/0.594, allocations: 0.5149 MB / 0.7396 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of SimCode: time 1.092e-06/0.594, allocations: 0 / 0.7396 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4018/0.9958, allocations: 42.3 MB / 0.7809 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/0.9961, allocations: 252 kB / 0.7811 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.94/3.936, allocations: 0 / 0.7811 GB, free: 4.543 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_y.fmu > IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)