Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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_LimitedCapacity,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity",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.0009184/0.0009184, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005656/0.005656, allocations: 170 kB / 16.26 MB, free: 6.613 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.244/1.244, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.059/2.059, allocations: 390.9 MB / 0.6664 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002975/0.0002975, allocations: 12 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.529/0.5294, allocations: 142.4 MB / 0.9552 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.05313/0.5825, allocations: 59.77 MB / 1.014 GB, free: 3.395 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01456/0.5971, allocations: 11.92 MB / 1.025 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00157/0.5987, allocations: 51.69 kB / 1.025 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001656/0.6004, allocations: 0.5516 MB / 1.026 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00483/0.6052, allocations: 1.804 MB / 1.028 GB, free: 5.027 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002657/0.6079, allocations: 1.078 MB / 1.029 GB, free: 3.957 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004178/0.6121, allocations: 3.902 MB / 1.032 GB, free: 52 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001381/0.6135, allocations: 0.8941 MB / 1.033 GB, free: 15.12 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002097/0.6156, allocations: 1.127 MB / 1.034 GB, free: 13.99 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001269/0.6169, allocations: 0.8476 MB / 1.035 GB, free: 13.14 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001523/0.617, allocations: 47.94 kB / 1.035 GB, free: 13.09 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002324/0.6194, allocations: 1.345 MB / 1.037 GB, free: 11.75 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002418/0.6196, allocations: 210.9 kB / 1.037 GB, free: 11.54 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0007122/0.6203, allocations: 0.6389 MB / 1.037 GB, free: 10.89 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002597/0.6229, allocations: 2.2 MB / 1.04 GB, free: 8.684 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.623, allocations: 0 / 1.04 GB, free: 8.684 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.685e-06/0.623, allocations: 4 kB / 1.04 GB, free: 8.68 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.669e-05/0.623, allocations: 0 / 1.04 GB, free: 8.68 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002616/0.6256, allocations: 1.481 MB / 1.041 GB, free: 7.141 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.6257, allocations: 12.03 kB / 1.041 GB, free: 7.129 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000166/0.6258, allocations: 134.8 kB / 1.041 GB, free: 6.988 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001671/0.6275, allocations: 382.7 kB / 1.041 GB, free: 6.613 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001912/0.6294, allocations: 1.124 MB / 1.043 GB, free: 5.43 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000345/0.6298, allocations: 129.9 kB / 1.043 GB, free: 5.305 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.6299, allocations: 80 kB / 1.043 GB, free: 5.227 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/0.6318, allocations: 0.97 MB / 1.044 GB, free: 4.211 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.6318, allocations: 7.938 kB / 1.044 GB, free: 4.203 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.47e-05/0.6319, allocations: 28 kB / 1.044 GB, free: 4.176 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.6319, allocations: 24 kB / 1.044 GB, free: 4.152 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00204/0.6339, allocations: 0.8431 MB / 1.045 GB, free: 3.309 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.005614/0.6396, allocations: 4.8 MB / 1.049 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/0.6411, allocations: 0.5932 MB / 1.05 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006212/0.6417, allocations: 290 kB / 1.05 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001468/0.6432, allocations: 1.392 MB / 1.051 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.6432, allocations: 42.55 kB / 1.052 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=43): time 1.653e-06/0.6432, allocations: 0 / 1.052 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of matching and sorting (n=43): time 0.006865/0.6501, allocations: 1.849 MB / 1.053 GB, free: 9.645 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.6501, allocations: 59.34 kB / 1.053 GB, free: 9.574 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001427/0.6516, allocations: 1.052 MB / 1.054 GB, free: 8.508 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.116e-05/0.6516, allocations: 41.7 kB / 1.054 GB, free: 8.461 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003937/0.652, allocations: 0.5234 MB / 1.055 GB, free: 7.934 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.6522, allocations: 153.8 kB / 1.055 GB, free: 7.781 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/0.6522, allocations: 45.69 kB / 1.055 GB, free: 7.73 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.6523, allocations: 334 kB / 1.055 GB, free: 7.398 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007513/0.6531, allocations: 281 kB / 1.056 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009003/0.654, allocations: 0.4895 MB / 1.056 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.6554, allocations: 0.6665 MB / 1.057 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.6554, allocations: 0 / 1.057 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002353/0.6578, allocations: 0.9766 MB / 1.058 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.6579, allocations: 212.1 kB / 1.058 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.658, allocations: 7.984 kB / 1.058 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/0.6592, allocations: 336.5 kB / 1.058 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004433/0.6597, allocations: 111.8 kB / 1.058 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/0.6611, allocations: 0.9402 MB / 1.059 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.6623, allocations: 183.2 kB / 1.06 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-05/0.6623, allocations: 28.09 kB / 1.06 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/0.6624, allocations: 4 kB / 1.06 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002141/0.6645, allocations: 0.8439 MB / 1.06 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.6645, allocations: 4.406 kB / 1.06 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/0.6656, allocations: 320.6 kB / 1.061 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004236/0.666, allocations: 115.8 kB / 1.061 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/0.6674, allocations: 0.9444 MB / 1.062 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009768/0.6684, allocations: 155.3 kB / 1.062 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.227e-05/0.6685, allocations: 31.98 kB / 1.062 GB, free: 0.5156 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * 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.000402/0.6689, allocations: 345 kB / 1.062 GB, free: 172 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.6691, allocations: 110.7 kB / 1.062 GB, free: 60 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002944/0.672, allocations: 1.08 MB / 1.063 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.672, allocations: 4 kB / 1.063 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.672, allocations: 4.094 kB / 1.063 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.6721, allocations: 11.91 kB / 1.063 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004772/0.6768, allocations: 2.169 MB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.6769, allocations: 4 kB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.6771, allocations: 59.91 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001012/0.6781, allocations: 330.7 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/0.6781, allocations: 15.94 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001458/0.6796, allocations: 0.9737 MB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.6796, allocations: 4.031 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003359/0.683, allocations: 1.191 MB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000373/0.6834, allocations: 271.5 kB / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.6835, allocations: 15.98 kB / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008398/0.6843, allocations: 107.8 kB / 1.068 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.568e-05/0.6844, allocations: 39.89 kB / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.362e-05/0.6845, allocations: 23.98 kB / 1.069 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001056/0.6855, allocations: 0.7391 MB / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6855, allocations: 4 kB / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001326/0.6869, allocations: 0.5652 MB / 1.07 GB, free: 8.273 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 (33): * Single equations (assignments): 28 * 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.004292/0.6912, allocations: 2.042 MB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002622/0.6938, allocations: 1.054 MB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6938, allocations: 0 / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007501/0.6946, allocations: 338.8 kB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00261/0.6972, allocations: 0.4952 MB / 1.074 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01536/0.7126, allocations: 8.742 MB / 1.082 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005891/0.7132, allocations: 1.065 MB / 1.083 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0008413/0.714, allocations: 224.1 kB / 1.083 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005062/0.7145, allocations: 407.3 kB / 1.084 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of SimCode: time 5e-07/0.7145, allocations: 0 / 1.084 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.288/2.003, allocations: 32.25 MB / 1.115 GB, free: 9.66 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003389/2.003, allocations: 290.9 kB / 1.116 GB, free: 9.277 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.304/5.307, allocations: 0 / 1.116 GB, free: 9.277 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity.fmu > Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)