Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Validation.Carnot_TEva_etaPL,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_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.001568/0.001568, 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.001824/0.001824, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.389/1.389, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.478/2.478, allocations: 437.1 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 67.91 kB / 0.8693 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5138/0.5151, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.05717/0.5723, allocations: 61.24 MB / 1.077 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01439/0.5867, allocations: 11.99 MB / 1.089 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.5882, allocations: 55.69 kB / 1.089 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001576/0.5898, allocations: 0.683 MB / 1.09 GB, free: 8.246 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004195/0.594, allocations: 1.957 MB / 1.092 GB, free: 6.281 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002484/0.5965, allocations: 1.202 MB / 1.093 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003216/0.5997, allocations: 3.079 MB / 1.096 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001366/0.6011, allocations: 1.084 MB / 1.097 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00246/0.6036, allocations: 1.334 MB / 1.098 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001253/0.6048, allocations: 0.8945 MB / 1.099 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001889/0.605, allocations: 116 kB / 1.099 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00235/0.6074, allocations: 1.478 MB / 1.101 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002539/0.6077, allocations: 290.8 kB / 1.101 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006161/0.6083, allocations: 0.6919 MB / 1.101 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002406/0.6107, allocations: 2.298 MB / 1.104 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.6107, allocations: 4 kB / 1.104 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6107, allocations: 0 / 1.104 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.537e-05/0.6107, allocations: 0 / 1.104 GB, free: 9.766 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002562/0.6133, allocations: 1.734 MB / 1.105 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.6133, allocations: 8.031 kB / 1.105 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000132/0.6135, allocations: 126.9 kB / 1.106 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001647/0.6151, allocations: 339 kB / 1.106 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/0.6169, allocations: 1.105 MB / 1.107 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003743/0.6173, allocations: 121.9 kB / 1.107 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.6174, allocations: 80 kB / 1.107 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.6192, allocations: 0.9781 MB / 1.108 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.6192, allocations: 0 / 1.108 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.879e-05/0.6193, allocations: 39.94 kB / 1.108 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.6193, allocations: 20 kB / 1.108 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002005/0.6213, allocations: 0.8118 MB / 1.109 GB, free: 4.23 MB / 0.8575 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.005623/0.627, allocations: 5.187 MB / 1.114 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.6285, allocations: 0.5795 MB / 1.115 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006077/0.6291, allocations: 272.7 kB / 1.115 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001299/0.6304, allocations: 1.369 MB / 1.116 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.6305, allocations: 42.5 kB / 1.116 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=44): time 1.793e-06/0.6305, allocations: 0 / 1.116 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44): time 0.005935/0.6364, allocations: 1.548 MB / 1.118 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.6365, allocations: 55.41 kB / 1.118 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00144/0.6379, allocations: 1.072 MB / 1.119 GB, free: 9.367 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.964e-05/0.638, allocations: 41.7 kB / 1.119 GB, free: 9.32 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003892/0.6384, allocations: 0.5273 MB / 1.119 GB, free: 8.789 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.6385, allocations: 157.7 kB / 1.12 GB, free: 8.633 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002087/0.6387, allocations: 134.2 kB / 1.12 GB, free: 8.496 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.486e-05/0.6388, allocations: 322 kB / 1.12 GB, free: 8.176 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000798/0.6396, allocations: 287.3 kB / 1.12 GB, free: 7.891 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009546/0.6406, allocations: 0.5038 MB / 1.121 GB, free: 7.297 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/0.6421, allocations: 0.6628 MB / 1.121 GB, free: 6.57 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.6421, allocations: 0 / 1.121 GB, free: 6.57 MB / 0.8731 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002488/0.6446, allocations: 0.9771 MB / 1.122 GB, free: 5.582 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.6447, allocations: 9.094 kB / 1.122 GB, free: 5.574 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.6447, allocations: 7.938 kB / 1.122 GB, free: 5.566 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0013/0.646, allocations: 324.6 kB / 1.123 GB, free: 5.246 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004665/0.6465, allocations: 123.8 kB / 1.123 GB, free: 5.125 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/0.6479, allocations: 0.9123 MB / 1.124 GB, free: 4.188 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.649, allocations: 151.2 kB / 1.124 GB, free: 4.039 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.428e-05/0.649, allocations: 27.98 kB / 1.124 GB, free: 4.012 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001062/0.6501, allocations: 0.4895 MB / 1.124 GB, free: 3.516 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009344/0.6511, allocations: 0.4922 MB / 1.125 GB, free: 2.934 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001442/0.6525, allocations: 0.6499 MB / 1.125 GB, free: 2.219 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.725e-06/0.6525, allocations: 0 / 1.125 GB, free: 2.219 MB / 0.8731 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002438/0.655, allocations: 0.962 MB / 1.126 GB, free: 1.246 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.655, allocations: 8.031 kB / 1.126 GB, free: 1.238 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.655, allocations: 8 kB / 1.126 GB, free: 1.23 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/0.6561, allocations: 313.9 kB / 1.127 GB, free: 0.9219 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004558/0.6566, allocations: 115.9 kB / 1.127 GB, free: 0.8086 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001438/0.658, allocations: 0.9191 MB / 1.128 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.6591, allocations: 119.6 kB / 1.128 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.26e-05/0.6591, allocations: 35.98 kB / 1.128 GB, free: 15.71 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (57): * Single equations (assignments): 56 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000172/0.6593, allocations: 220 kB / 1.128 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/0.6595, allocations: 114.6 kB / 1.128 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002219/0.6617, allocations: 0.9088 MB / 1.129 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.6618, allocations: 4 kB / 1.129 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.6618, allocations: 3.984 kB / 1.129 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.6618, allocations: 0 / 1.129 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005493/0.6673, allocations: 2.226 MB / 1.131 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.6673, allocations: 4 kB / 1.131 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.6675, allocations: 51.91 kB / 1.131 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009961/0.6685, allocations: 322.5 kB / 1.132 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/0.6686, allocations: 16 kB / 1.132 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001461/0.67, allocations: 0.9425 MB / 1.133 GB, free: 10.78 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.67, allocations: 0 / 1.133 GB, free: 10.78 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004202/0.6743, allocations: 1.263 MB / 1.134 GB, free: 9.469 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003438/0.6746, allocations: 259.5 kB / 1.134 GB, free: 9.195 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.6748, allocations: 12 kB / 1.134 GB, free: 9.184 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007635/0.6755, allocations: 71.8 kB / 1.134 GB, free: 9.113 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.518e-05/0.6756, allocations: 35.95 kB / 1.134 GB, free: 9.078 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.903e-05/0.6757, allocations: 23.98 kB / 1.134 GB, free: 9.055 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.00108/0.6768, allocations: 0.7589 MB / 1.135 GB, free: 8.289 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6768, allocations: 0 / 1.135 GB, free: 8.289 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001393/0.6782, allocations: 0.5809 MB / 1.135 GB, free: 7.707 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (34): * Single equations (assignments): 29 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006088/0.6843, allocations: 1.973 MB / 1.137 GB, free: 5.68 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004888/0.6892, allocations: 1.074 MB / 1.138 GB, free: 4.605 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.6892, allocations: 0 / 1.138 GB, free: 4.605 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001356/0.6906, allocations: 323 kB / 1.139 GB, free: 4.293 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003754/0.6943, allocations: 0.5253 MB / 1.139 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01513/0.7095, allocations: 8.413 MB / 1.147 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000571/0.7101, allocations: 1.061 MB / 1.148 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0008028/0.7109, allocations: 220.8 kB / 1.149 GB, free: 9.586 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004872/0.7114, allocations: 415.3 kB / 1.149 GB, free: 9.18 MB / 0.9044 GB Notification: Performance of SimCode: time 4.41e-07/0.7114, allocations: 0 / 1.149 GB, free: 9.18 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.133/3.845, allocations: 33.73 MB / 1.182 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.35/24.19, allocations: 5.781 kB / 1.182 GB, free: 7.902 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL.fmu > Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe 2>&1)