Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="Buildings_9_Buildings_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.0008501/0.0008501, 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.005432/0.005432, allocations: 174 kB / 16.27 MB, free: 6.648 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.3/1.3, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.224/2.224, allocations: 390.9 MB / 0.6664 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004471/0.0004471, allocations: 11.98 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.142/1.143, allocations: 142.4 MB / 0.9552 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.09323/1.236, allocations: 73.44 MB / 1.027 GB, free: 5.641 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02383/1.26, allocations: 12.68 MB / 1.039 GB, free: 8.941 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003989/1.264, allocations: 55.62 kB / 1.039 GB, free: 8.887 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002978/1.267, allocations: 0.6798 MB / 1.04 GB, free: 8.203 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.009835/1.277, allocations: 2.26 MB / 1.042 GB, free: 5.934 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.004777/1.282, allocations: 1.27 MB / 1.043 GB, free: 4.676 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.009655/1.291, allocations: 5.556 MB / 1.049 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002294/1.294, allocations: 1.143 MB / 1.05 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003722/1.297, allocations: 1.31 MB / 1.051 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0019/1.299, allocations: 1.132 MB / 1.052 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001538/1.3, allocations: 56 kB / 1.052 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003685/1.303, allocations: 1.239 MB / 1.054 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0004141/1.304, allocations: 286.6 kB / 1.054 GB, free: 9.898 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001158/1.305, allocations: 0.8023 MB / 1.055 GB, free: 9.086 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.004601/1.309, allocations: 2.718 MB / 1.057 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/1.31, allocations: 0 / 1.057 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.486e-06/1.31, allocations: 0 / 1.057 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.251e-05/1.31, allocations: 0 / 1.057 GB, free: 6.359 MB / 0.8106 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.003908/1.313, allocations: 1.776 MB / 1.059 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.315e-05/1.314, allocations: 8.031 kB / 1.059 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002006/1.314, allocations: 156 kB / 1.059 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007689/1.315, allocations: 242.9 kB / 1.059 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002609/1.317, allocations: 1.493 MB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.367e-05/1.317, allocations: 77.98 kB / 1.061 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/1.317, allocations: 100 kB / 1.061 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00226/1.32, allocations: 1.116 MB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/1.32, allocations: 4 kB / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/1.32, allocations: 44 kB / 1.062 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.366e-05/1.32, allocations: 28 kB / 1.062 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001987/1.322, allocations: 0.9251 MB / 1.063 GB, free: 244 kB / 0.8106 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.006781/1.329, allocations: 4.911 MB / 1.068 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/1.33, allocations: 0.6432 MB / 1.069 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007706/1.331, allocations: 362.3 kB / 1.069 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007834/1.332, allocations: 0.8355 MB / 1.07 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.024e-05/1.332, allocations: 43.12 kB / 1.07 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=61): time 2.785e-06/1.332, allocations: 3.938 kB / 1.07 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of matching and sorting (n=61): time 0.007819/1.34, allocations: 1.881 MB / 1.072 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/1.34, allocations: 59.97 kB / 1.072 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001856/1.342, allocations: 1.21 MB / 1.073 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.235e-05/1.342, allocations: 49.64 kB / 1.073 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005921/1.342, allocations: 0.6026 MB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002374/1.343, allocations: 216.9 kB / 1.074 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.283e-05/1.343, allocations: 61.69 kB / 1.074 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001382/1.343, allocations: 333.9 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006875/1.343, allocations: 301.8 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008756/1.344, allocations: 0.5038 MB / 1.075 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/1.346, allocations: 0.7558 MB / 1.076 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/1.346, allocations: 0 / 1.076 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004948/1.351, allocations: 1.398 MB / 1.077 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001459/1.351, allocations: 198.2 kB / 1.077 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/1.351, allocations: 4 kB / 1.077 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006226/1.352, allocations: 148.7 kB / 1.077 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006177/1.352, allocations: 171.7 kB / 1.077 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000884/1.353, allocations: 0.7084 MB / 1.078 GB, free: 84 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/1.354, allocations: 159.7 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.231e-05/1.355, allocations: 35.98 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.907e-06/1.355, allocations: 8 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004545/1.359, allocations: 1.249 MB / 1.08 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/1.359, allocations: 4 kB / 1.08 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004996/1.36, allocations: 145.1 kB / 1.08 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005896/1.36, allocations: 163.8 kB / 1.08 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008427/1.361, allocations: 0.7122 MB / 1.081 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/1.362, allocations: 159.2 kB / 1.081 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.339e-05/1.362, allocations: 27.98 kB / 1.081 GB, free: 13.4 MB / 0.8419 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.000803/1.363, allocations: 421.5 kB / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002279/1.364, allocations: 138.3 kB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004959/1.368, allocations: 1.4 MB / 1.083 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.92e-05/1.369, allocations: 15.94 kB / 1.083 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/1.369, allocations: 4 kB / 1.083 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004382/1.373, allocations: 1.232 MB / 1.084 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007548/1.38, allocations: 2.739 MB / 1.087 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/1.381, allocations: 4 kB / 1.087 GB, free: 7.281 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004917/1.381, allocations: 128.2 kB / 1.087 GB, free: 7.156 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005124/1.382, allocations: 132.7 kB / 1.087 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.198e-05/1.382, allocations: 31.86 kB / 1.087 GB, free: 6.992 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00487/1.386, allocations: 2.427 MB / 1.089 GB, free: 4.418 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/1.387, allocations: 4 kB / 1.089 GB, free: 4.414 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005555/1.392, allocations: 1.852 MB / 1.091 GB, free: 2.492 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008285/1.393, allocations: 327.1 kB / 1.091 GB, free: 2.152 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003131/1.393, allocations: 19.98 kB / 1.091 GB, free: 2.133 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/1.394, allocations: 100.1 kB / 1.091 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/1.395, allocations: 60.25 kB / 1.091 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-05/1.395, allocations: 31.92 kB / 1.092 GB, free: 1.945 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.00167/1.396, allocations: 0.8738 MB / 1.092 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4.31e-07/1.396, allocations: 0 / 1.092 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002522/1.399, allocations: 0.7018 MB / 1.093 GB, free: 376 kB / 0.8419 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.006935/1.406, allocations: 2.741 MB / 1.096 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002953/1.409, allocations: 1.172 MB / 1.097 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.409, allocations: 0 / 1.097 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001593/1.41, allocations: 0.5956 MB / 1.097 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0054/1.416, allocations: 0.7967 MB / 1.098 GB, free: 11 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03237/1.448, allocations: 11.19 MB / 1.109 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001403/1.45, allocations: 1.165 MB / 1.11 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001963/1.452, allocations: 311 kB / 1.111 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001102/1.453, allocations: 0.5149 MB / 1.111 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of SimCode: time 2.314e-06/1.453, allocations: 0 / 1.111 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.008/4.461, allocations: 42.31 MB / 1.152 GB, free: 3.469 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0304/4.492, allocations: 267.4 kB / 1.153 GB, free: 3.133 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.12/7.611, allocations: 3.938 kB / 1.153 GB, free: 3.129 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Examples_Carnot_y.fmu > Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)