Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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(Buildings.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="Buildings_latest_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.001482/0.001482, allocations: 108 kB / 15.6 MB, free: 132 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.00164/0.00164, allocations: 198 kB / 16.54 MB, free: 6.672 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.316/1.316, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.439/2.439, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 62.78 kB / 0.8992 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2247, allocations: 157.4 MB / 1.053 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.06189/0.2867, allocations: 75.18 MB / 1.126 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01519/0.3019, allocations: 12.75 MB / 1.139 GB, free: 96 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002019/0.3039, allocations: 67.56 kB / 1.139 GB, free: 28 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002154/0.3061, allocations: 0.8308 MB / 1.14 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005678/0.3118, allocations: 2.465 MB / 1.142 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002899/0.3148, allocations: 1.382 MB / 1.143 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004292/0.3191, allocations: 4.385 MB / 1.148 GB, free: 6.949 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001732/0.3208, allocations: 1.425 MB / 1.149 GB, free: 5.484 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002832/0.3236, allocations: 1.625 MB / 1.151 GB, free: 3.863 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001576/0.3252, allocations: 1.194 MB / 1.152 GB, free: 2.664 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002954/0.3255, allocations: 164 kB / 1.152 GB, free: 2.504 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002498/0.328, allocations: 1.404 MB / 1.153 GB, free: 1.098 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003838/0.3284, allocations: 394.6 kB / 1.154 GB, free: 0.7109 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001066/0.3295, allocations: 0.8983 MB / 1.155 GB, free: 15.8 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003516/0.333, allocations: 2.832 MB / 1.157 GB, free: 12.97 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3331, allocations: 4 kB / 1.157 GB, free: 12.96 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3331, allocations: 3.938 kB / 1.157 GB, free: 12.96 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.544e-05/0.3331, allocations: 0 / 1.157 GB, free: 12.96 MB / 0.92 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.003713/0.3369, allocations: 2.079 MB / 1.159 GB, free: 10.82 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.3369, allocations: 8.625 kB / 1.159 GB, free: 10.81 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001701/0.3371, allocations: 148.1 kB / 1.16 GB, free: 10.66 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007898/0.3379, allocations: 234.7 kB / 1.16 GB, free: 10.43 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002042/0.3399, allocations: 1.45 MB / 1.161 GB, free: 8.918 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.295e-05/0.34, allocations: 81.94 kB / 1.161 GB, free: 8.84 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.3401, allocations: 108 kB / 1.161 GB, free: 8.734 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.3418, allocations: 1.096 MB / 1.162 GB, free: 7.602 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.3419, allocations: 0 / 1.162 GB, free: 7.602 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-05/0.3419, allocations: 44 kB / 1.162 GB, free: 7.559 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.118e-05/0.342, allocations: 24 kB / 1.163 GB, free: 7.535 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001705/0.3437, allocations: 0.8861 MB / 1.163 GB, free: 6.652 MB / 0.92 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.004835/0.3485, allocations: 4.946 MB / 1.168 GB, free: 1.418 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.3498, allocations: 0.6166 MB / 1.169 GB, free: 0.793 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006461/0.3504, allocations: 347.5 kB / 1.169 GB, free: 464 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005337/0.351, allocations: 0.8277 MB / 1.17 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.351, allocations: 43.11 kB / 1.17 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=61): time 1.734e-06/0.351, allocations: 3.938 kB / 1.17 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of matching and sorting (n=61): time 0.006702/0.3577, allocations: 1.674 MB / 1.172 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.3578, allocations: 67.84 kB / 1.172 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/0.3592, allocations: 1.225 MB / 1.173 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.69e-05/0.3592, allocations: 45.7 kB / 1.173 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004657/0.3597, allocations: 0.6026 MB / 1.174 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.3599, allocations: 212.9 kB / 1.174 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.3601, allocations: 154.5 kB / 1.174 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.699e-05/0.3602, allocations: 330 kB / 1.174 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006134/0.3608, allocations: 292.7 kB / 1.174 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007625/0.3616, allocations: 495.8 kB / 1.175 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/0.3629, allocations: 0.709 MB / 1.176 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.3629, allocations: 3.938 kB / 1.176 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004468/0.3674, allocations: 1.269 MB / 1.177 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.3674, allocations: 4 kB / 1.177 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-06/0.3674, allocations: 4 kB / 1.177 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005515/0.368, allocations: 141 kB / 1.177 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005633/0.3685, allocations: 163.8 kB / 1.177 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007606/0.3693, allocations: 0.6851 MB / 1.178 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009553/0.3703, allocations: 122.9 kB / 1.178 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.179e-05/0.3704, allocations: 35.98 kB / 1.178 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001007/0.3714, allocations: 0.5566 MB / 1.179 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007702/0.3722, allocations: 495.8 kB / 1.179 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001299/0.3735, allocations: 0.705 MB / 1.18 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.665e-06/0.3735, allocations: 0 / 1.18 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004479/0.378, allocations: 1.273 MB / 1.181 GB, free: 3.785 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.378, allocations: 4 kB / 1.181 GB, free: 3.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.378, allocations: 8 kB / 1.181 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004583/0.3785, allocations: 133.2 kB / 1.181 GB, free: 3.641 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005412/0.379, allocations: 167.7 kB / 1.181 GB, free: 3.477 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007179/0.3797, allocations: 0.6927 MB / 1.182 GB, free: 2.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009186/0.3807, allocations: 99.52 kB / 1.182 GB, free: 2.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.623e-05/0.3807, allocations: 35.92 kB / 1.182 GB, free: 2.625 MB / 0.9356 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.0001979/0.3809, allocations: 224.1 kB / 1.182 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002282/0.3812, allocations: 142.2 kB / 1.182 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004444/0.3856, allocations: 1.263 MB / 1.184 GB, free: 0.9727 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.3856, allocations: 11.98 kB / 1.184 GB, free: 0.9609 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3857, allocations: 0 / 1.184 GB, free: 0.9609 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00393/0.3896, allocations: 1.096 MB / 1.185 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005936/0.3955, allocations: 2.622 MB / 1.187 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.3956, allocations: 4 kB / 1.187 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004235/0.396, allocations: 107.9 kB / 1.187 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004381/0.3964, allocations: 132.8 kB / 1.187 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.243e-05/0.3965, allocations: 19.94 kB / 1.188 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004579/0.4011, allocations: 2.583 MB / 1.19 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.4011, allocations: 7.938 kB / 1.19 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005022/0.4061, allocations: 1.707 MB / 1.192 GB, free: 8.312 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004899/0.4066, allocations: 303.2 kB / 1.192 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002092/0.4068, allocations: 19.98 kB / 1.192 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008068/0.4076, allocations: 56 kB / 1.192 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.4078, allocations: 56.25 kB / 1.192 GB, free: 7.867 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.855e-05/0.4078, allocations: 39.97 kB / 1.192 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.00113/0.409, allocations: 0.8777 MB / 1.193 GB, free: 6.949 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.409, allocations: 0 / 1.193 GB, free: 6.949 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001671/0.4107, allocations: 0.7213 MB / 1.194 GB, free: 6.227 MB / 0.9512 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.005839/0.4165, allocations: 2.58 MB / 1.196 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002482/0.419, allocations: 1.153 MB / 1.197 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.419, allocations: 12.06 kB / 1.197 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001349/0.4204, allocations: 0.5563 MB / 1.198 GB, free: 1.852 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003085/0.4235, allocations: 0.7983 MB / 1.199 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01769/0.4412, allocations: 10.45 MB / 1.209 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006509/0.4418, allocations: 1.176 MB / 1.21 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001052/0.4429, allocations: 306.9 kB / 1.21 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006004/0.4435, allocations: 0.5032 MB / 1.211 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of SimCode: time 3.21e-07/0.4435, allocations: 0 / 1.211 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.197/4.641, allocations: 42.18 MB / 1.252 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/18.59, allocations: 6.781 kB / 1.252 GB, free: 183.7 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_y.fmu > Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)