Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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_etaPL,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL,fileNamePrefix="Buildings_9_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.0008981/0.0008981, allocations: 91.84 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.005224/0.005224, allocations: 169.5 kB / 16.26 MB, free: 6.68 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.182/1.182, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.008/2.008, allocations: 390.9 MB / 0.6664 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002859/0.0002859, allocations: 8 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5182/0.5185, 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_etaPL): time 0.04822/0.5668, allocations: 59.77 MB / 1.014 GB, free: 3.402 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01357/0.5804, allocations: 11.93 MB / 1.025 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000889/0.5813, allocations: 51.62 kB / 1.025 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001156/0.5825, allocations: 0.5516 MB / 1.026 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.003184/0.5857, allocations: 1.8 MB / 1.028 GB, free: 5.031 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.5877, allocations: 1.086 MB / 1.029 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003149/0.5908, allocations: 3.902 MB / 1.032 GB, free: 44 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009934/0.5918, allocations: 0.8942 MB / 1.033 GB, free: 15.12 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001504/0.5934, allocations: 1.12 MB / 1.034 GB, free: 13.99 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008765/0.5942, allocations: 0.8553 MB / 1.035 GB, free: 13.13 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.371e-05/0.5944, allocations: 43.98 kB / 1.035 GB, free: 13.09 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001894/0.5963, allocations: 1.364 MB / 1.037 GB, free: 11.72 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001985/0.5965, allocations: 218.9 kB / 1.037 GB, free: 11.51 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0004928/0.597, allocations: 0.6272 MB / 1.037 GB, free: 10.87 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001993/0.599, allocations: 2.22 MB / 1.04 GB, free: 8.645 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.599, allocations: 0 / 1.04 GB, free: 8.645 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.122e-06/0.599, allocations: 4 kB / 1.04 GB, free: 8.641 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.599, allocations: 0 / 1.04 GB, free: 8.641 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.002234/0.6012, allocations: 1.486 MB / 1.041 GB, free: 7.098 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.6013, allocations: 15.97 kB / 1.041 GB, free: 7.082 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000127/0.6014, allocations: 126.9 kB / 1.041 GB, free: 6.949 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/0.603, allocations: 382.7 kB / 1.042 GB, free: 6.574 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0017/0.6047, allocations: 1.128 MB / 1.043 GB, free: 5.387 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000347/0.6051, allocations: 137.9 kB / 1.043 GB, free: 5.254 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.6052, allocations: 76 kB / 1.043 GB, free: 5.18 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.6069, allocations: 0.97 MB / 1.044 GB, free: 4.164 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.6069, allocations: 3.938 kB / 1.044 GB, free: 4.16 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.311e-05/0.607, allocations: 32 kB / 1.044 GB, free: 4.129 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.607, allocations: 20 kB / 1.044 GB, free: 4.109 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001933/0.609, allocations: 0.8431 MB / 1.045 GB, free: 3.266 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.005146/0.6141, allocations: 4.8 MB / 1.049 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/0.6156, allocations: 0.602 MB / 1.05 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006214/0.6162, allocations: 299.8 kB / 1.05 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0012/0.6174, allocations: 1.392 MB / 1.052 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.6175, allocations: 42.56 kB / 1.052 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=44): time 2.725e-06/0.6175, allocations: 0 / 1.052 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of matching and sorting (n=44): time 0.005771/0.6233, allocations: 1.697 MB / 1.053 GB, free: 9.738 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.6233, allocations: 59.34 kB / 1.053 GB, free: 9.668 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.6246, allocations: 1.059 MB / 1.054 GB, free: 8.594 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.75e-05/0.6247, allocations: 37.7 kB / 1.054 GB, free: 8.551 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000359/0.625, allocations: 0.5158 MB / 1.055 GB, free: 8.031 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.6251, allocations: 153.8 kB / 1.055 GB, free: 7.879 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.197e-05/0.6252, allocations: 53.69 kB / 1.055 GB, free: 7.82 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.967e-05/0.6253, allocations: 329.9 kB / 1.055 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007448/0.6261, allocations: 288.9 kB / 1.056 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000883/0.627, allocations: 495.6 kB / 1.056 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.6283, allocations: 0.654 MB / 1.057 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.6283, allocations: 0 / 1.057 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002236/0.6306, allocations: 0.9805 MB / 1.058 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.642e-05/0.6307, allocations: 199.3 kB / 1.058 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.6307, allocations: 4 kB / 1.058 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001212/0.6319, allocations: 343 kB / 1.058 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004298/0.6324, allocations: 115.8 kB / 1.058 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.6338, allocations: 0.9465 MB / 1.059 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/0.6348, allocations: 175.3 kB / 1.059 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-05/0.6349, allocations: 24 kB / 1.059 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.672e-06/0.6349, allocations: 6.344 kB / 1.059 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00207/0.637, allocations: 0.8516 MB / 1.06 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.637, allocations: 8 kB / 1.06 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/0.638, allocations: 330.6 kB / 1.061 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004159/0.6385, allocations: 119.8 kB / 1.061 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.6398, allocations: 0.9309 MB / 1.062 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009044/0.6407, allocations: 157.3 kB / 1.062 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.908e-05/0.6408, allocations: 27.98 kB / 1.062 GB, free: 0.6289 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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.000344/0.6411, allocations: 353 kB / 1.062 GB, free: 280 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.6413, allocations: 110.7 kB / 1.062 GB, free: 168 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002093/0.6434, allocations: 0.9399 MB / 1.063 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.6434, allocations: 12 kB / 1.063 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.6434, allocations: 3.984 kB / 1.063 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.6434, allocations: 0 / 1.063 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005297/0.6487, allocations: 2.339 MB / 1.066 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.6487, allocations: 4 kB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/0.6489, allocations: 55.91 kB / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000981/0.6499, allocations: 332.8 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/0.65, allocations: 16 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001386/0.6514, allocations: 0.9775 MB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.6514, allocations: 8.062 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004034/0.6554, allocations: 1.349 MB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003244/0.6557, allocations: 279.4 kB / 1.068 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.6559, allocations: 19.98 kB / 1.068 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008015/0.6567, allocations: 95.91 kB / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.144e-05/0.6568, allocations: 35.95 kB / 1.069 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-05/0.6568, allocations: 23.98 kB / 1.069 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009759/0.6578, allocations: 0.7508 MB / 1.069 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/0.6578, allocations: 0 / 1.069 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001204/0.659, allocations: 0.5692 MB / 1.07 GB, free: 8.172 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.004191/0.6632, allocations: 2.085 MB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002494/0.6657, allocations: 1.058 MB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.6657, allocations: 0 / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007218/0.6665, allocations: 342.2 kB / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002513/0.669, allocations: 0.4986 MB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01435/0.6833, allocations: 8.778 MB / 1.082 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005238/0.6839, allocations: 1.061 MB / 1.083 GB, free: 9.84 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0007094/0.6846, allocations: 220.6 kB / 1.084 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004519/0.6851, allocations: 407.3 kB / 1.084 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.6851, allocations: 0 / 1.084 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.314/1.999, allocations: 32.42 MB / 1.116 GB, free: 9.262 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000223/1.999, allocations: 273 kB / 1.116 GB, free: 8.891 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.118/11.12, allocations: 0 / 1.116 GB, free: 8.891 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL.fmu > Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe 2>&1)