Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.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.Validation.Carnot_TEva_HighTemperature,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature",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.0008905/0.0008905, allocations: 97.33 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.005406/0.005406, allocations: 169.7 kB / 16.27 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.248/1.248, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.187/2.187, allocations: 390.9 MB / 0.6664 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003029/0.0003029, allocations: 11.98 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5362/0.5365, allocations: 142.4 MB / 0.9552 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature): time 0.05218/0.5888, allocations: 59.82 MB / 1.014 GB, free: 3.355 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0143/0.6031, allocations: 11.93 MB / 1.025 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001541/0.6046, allocations: 55.62 kB / 1.025 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001476/0.6061, allocations: 0.5477 MB / 1.026 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.004191/0.6103, allocations: 1.811 MB / 1.028 GB, free: 4.965 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002391/0.6127, allocations: 1.091 MB / 1.029 GB, free: 3.883 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003894/0.6167, allocations: 3.902 MB / 1.032 GB, free: 15.97 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001281/0.6179, allocations: 0.9148 MB / 1.033 GB, free: 15.02 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001968/0.6199, allocations: 1.127 MB / 1.034 GB, free: 13.89 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001184/0.6211, allocations: 0.8514 MB / 1.035 GB, free: 13.04 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001397/0.6213, allocations: 40 kB / 1.035 GB, free: 13 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002173/0.6234, allocations: 1.349 MB / 1.037 GB, free: 11.64 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002354/0.6237, allocations: 210.9 kB / 1.037 GB, free: 11.44 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000658/0.6244, allocations: 0.6388 MB / 1.037 GB, free: 10.79 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002368/0.6267, allocations: 2.204 MB / 1.04 GB, free: 8.578 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.6267, allocations: 0 / 1.04 GB, free: 8.578 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6268, allocations: 0 / 1.04 GB, free: 8.578 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.6268, allocations: 0 / 1.04 GB, free: 8.578 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002369/0.6291, allocations: 1.516 MB / 1.041 GB, free: 7.004 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.6292, allocations: 8.031 kB / 1.041 GB, free: 6.996 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001329/0.6293, allocations: 130.9 kB / 1.041 GB, free: 6.859 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00212/0.6315, allocations: 478.6 kB / 1.042 GB, free: 6.391 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001729/0.6332, allocations: 1.128 MB / 1.043 GB, free: 5.203 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003501/0.6336, allocations: 137.9 kB / 1.043 GB, free: 5.07 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.6337, allocations: 80 kB / 1.043 GB, free: 4.992 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/0.6356, allocations: 1.029 MB / 1.044 GB, free: 3.918 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.6356, allocations: 3.938 kB / 1.044 GB, free: 3.914 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.485e-05/0.6357, allocations: 32 kB / 1.044 GB, free: 3.883 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.6357, allocations: 20 kB / 1.044 GB, free: 3.863 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002378/0.6381, allocations: 0.9524 MB / 1.045 GB, free: 2.91 MB / 0.795 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.005609/0.6437, allocations: 4.898 MB / 1.05 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003594/0.6474, allocations: 0.9169 MB / 1.051 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007868/0.6482, allocations: 340.6 kB / 1.051 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005599/0.6487, allocations: 0.9064 MB / 1.052 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.6488, allocations: 38.56 kB / 1.052 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=44): time 1.483e-06/0.6488, allocations: 0 / 1.052 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=44): time 0.006332/0.6551, allocations: 1.838 MB / 1.054 GB, free: 9.367 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.6551, allocations: 59.41 kB / 1.054 GB, free: 9.297 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/0.6565, allocations: 1.064 MB / 1.055 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.256e-05/0.6566, allocations: 37.7 kB / 1.055 GB, free: 8.176 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003734/0.6569, allocations: 0.5157 MB / 1.055 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.6571, allocations: 157.8 kB / 1.055 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.839e-05/0.6571, allocations: 53.64 kB / 1.056 GB, free: 7.441 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.467e-05/0.6572, allocations: 329.9 kB / 1.056 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009495/0.6582, allocations: 344.9 kB / 1.056 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/0.6593, allocations: 0.5489 MB / 1.057 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001775/0.6611, allocations: 0.7686 MB / 1.057 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.6611, allocations: 0 / 1.057 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002647/0.6638, allocations: 1.093 MB / 1.059 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.000114/0.6639, allocations: 214.4 kB / 1.059 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.6639, allocations: 8 kB / 1.059 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001215/0.6651, allocations: 330.1 kB / 1.059 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000551/0.6657, allocations: 139.8 kB / 1.059 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/0.6671, allocations: 0.9372 MB / 1.06 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.6683, allocations: 203.2 kB / 1.06 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.393e-05/0.6684, allocations: 31.98 kB / 1.06 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 7.223e-06/0.6684, allocations: 7.938 kB / 1.06 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00253/0.6709, allocations: 0.9493 MB / 1.061 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.6709, allocations: 4 kB / 1.061 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/0.672, allocations: 333 kB / 1.062 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005408/0.6725, allocations: 143.8 kB / 1.062 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.6739, allocations: 0.9271 MB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.675, allocations: 179.3 kB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.572e-05/0.675, allocations: 35.92 kB / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (52): * Single equations (assignments): 51 * 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.000377/0.6754, allocations: 345.9 kB / 1.063 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.6756, allocations: 110.7 kB / 1.063 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003261/0.6788, allocations: 1.201 MB / 1.064 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.6788, allocations: 4 kB / 1.064 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.6789, allocations: 3.938 kB / 1.064 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.6789, allocations: 3.984 kB / 1.064 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004994/0.6839, allocations: 2.327 MB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.6839, allocations: 0 / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003155/0.6842, allocations: 76.17 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009824/0.6852, allocations: 326.3 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/0.6852, allocations: 16 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/0.6867, allocations: 0.9699 MB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.6867, allocations: 3.938 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003717/0.6904, allocations: 1.325 MB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003452/0.6907, allocations: 283.4 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.6909, allocations: 8 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009191/0.6918, allocations: 127.7 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.016e-05/0.6919, allocations: 35.89 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.484e-05/0.6919, allocations: 27.98 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001019/0.693, allocations: 0.751 MB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.3e-07/0.693, allocations: 0 / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001233/0.6942, allocations: 0.5575 MB / 1.071 GB, free: 7 MB / 0.8262 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.004597/0.6988, allocations: 2.134 MB / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003203/0.702, allocations: 1.234 MB / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.702, allocations: 0 / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0009567/0.703, allocations: 398.4 kB / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00258/0.7056, allocations: 0.5056 MB / 1.075 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01817/0.7238, allocations: 9.368 MB / 1.084 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005735/0.7244, allocations: 1.073 MB / 1.085 GB, free: 7.789 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0008447/0.7252, allocations: 223.8 kB / 1.086 GB, free: 7.57 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004983/0.7257, allocations: 415.3 kB / 1.086 GB, free: 7.168 MB / 0.8419 GB Notification: Performance of SimCode: time 7.21e-07/0.7257, allocations: 0 / 1.086 GB, free: 7.168 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.406/3.132, allocations: 32.32 MB / 1.118 GB, free: 7.344 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00025/3.132, allocations: 285.2 kB / 1.118 GB, free: 6.969 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.588/5.72, allocations: 4 kB / 1.118 GB, free: 6.965 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature.fmu > Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe 2>&1)