Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_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_y_etaPL,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_y_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.0009881/0.0009881, allocations: 97.64 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.007389/0.007389, allocations: 170.1 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.246/1.246, allocations: 223.3 MB / 240.3 MB, free: 5.324 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 1.982/1.982, allocations: 390.9 MB / 0.6664 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002634/0.0002634, allocations: 11.98 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4879/0.4881, allocations: 142.4 MB / 0.9552 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.05711/0.5453, allocations: 73.46 MB / 1.027 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0131/0.5584, allocations: 12.67 MB / 1.039 GB, free: 8.98 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008514/0.5593, allocations: 59.62 kB / 1.039 GB, free: 8.922 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.5605, allocations: 0.6759 MB / 1.04 GB, free: 8.242 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.00342/0.564, allocations: 2.268 MB / 1.042 GB, free: 5.965 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002045/0.566, allocations: 1.275 MB / 1.043 GB, free: 4.703 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.003935/0.57, allocations: 5.55 MB / 1.049 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/0.5711, allocations: 1.143 MB / 1.05 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00145/0.5725, allocations: 1.314 MB / 1.051 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000971/0.5735, allocations: 1.128 MB / 1.052 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.5736, allocations: 52 kB / 1.052 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001685/0.5753, allocations: 1.267 MB / 1.054 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002158/0.5755, allocations: 286.6 kB / 1.054 GB, free: 9.906 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0005596/0.5761, allocations: 0.7944 MB / 1.055 GB, free: 9.102 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002071/0.5782, allocations: 2.734 MB / 1.057 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.5782, allocations: 0 / 1.057 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.424e-06/0.5782, allocations: 0 / 1.057 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.5782, allocations: 3.938 kB / 1.057 GB, free: 6.355 MB / 0.8106 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.002456/0.5807, allocations: 1.783 MB / 1.059 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.5807, allocations: 12.03 kB / 1.059 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001413/0.5809, allocations: 144.1 kB / 1.059 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006296/0.5815, allocations: 246.8 kB / 1.06 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/0.5833, allocations: 1.493 MB / 1.061 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.805e-05/0.5833, allocations: 78 kB / 1.061 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.5835, allocations: 100 kB / 1.061 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/0.5851, allocations: 1.131 MB / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.5852, allocations: 0 / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.763e-05/0.5853, allocations: 39.94 kB / 1.062 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/0.5853, allocations: 24 kB / 1.062 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.5869, allocations: 0.9329 MB / 1.063 GB, free: 224 kB / 0.8106 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.004607/0.5916, allocations: 4.911 MB / 1.068 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.5928, allocations: 0.653 MB / 1.069 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006813/0.5935, allocations: 370.3 kB / 1.069 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005113/0.594, allocations: 0.8316 MB / 1.07 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.5941, allocations: 43.06 kB / 1.07 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=62): time 1.814e-06/0.5941, allocations: 0 / 1.07 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=62): time 0.007223/0.6013, allocations: 1.896 MB / 1.072 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.6013, allocations: 63.91 kB / 1.072 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.6026, allocations: 1.21 MB / 1.073 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.873e-05/0.6027, allocations: 41.7 kB / 1.073 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004465/0.6032, allocations: 0.6026 MB / 1.074 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/0.6033, allocations: 216.9 kB / 1.074 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.158e-05/0.6034, allocations: 61.69 kB / 1.074 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.61e-05/0.6035, allocations: 334 kB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006595/0.6042, allocations: 309.8 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007979/0.605, allocations: 0.4952 MB / 1.075 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001369/0.6064, allocations: 0.751 MB / 1.076 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.6064, allocations: 4 kB / 1.076 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004621/0.611, allocations: 1.406 MB / 1.077 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.965e-05/0.6111, allocations: 189.4 kB / 1.077 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.6111, allocations: 8 kB / 1.077 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006314/0.6118, allocations: 172.6 kB / 1.077 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000557/0.6123, allocations: 167.8 kB / 1.078 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007928/0.6131, allocations: 0.7279 MB / 1.078 GB, free: 12 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009606/0.6141, allocations: 171 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-05/0.6142, allocations: 35.98 kB / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.871e-06/0.6142, allocations: 4 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004445/0.6186, allocations: 1.254 MB / 1.08 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.6187, allocations: 8.031 kB / 1.08 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005537/0.6192, allocations: 164.7 kB / 1.08 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005519/0.6198, allocations: 159.8 kB / 1.08 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007478/0.6205, allocations: 0.7396 MB / 1.081 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008902/0.6214, allocations: 155.8 kB / 1.081 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.204e-05/0.6215, allocations: 35.98 kB / 1.081 GB, free: 13.27 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004219/0.6219, allocations: 417.4 kB / 1.081 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.6221, allocations: 142.2 kB / 1.081 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004703/0.6268, allocations: 1.408 MB / 1.083 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.6268, allocations: 12 kB / 1.083 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.6268, allocations: 0 / 1.083 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004218/0.6311, allocations: 1.244 MB / 1.084 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006017/0.6371, allocations: 2.759 MB / 1.087 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.6371, allocations: 4 kB / 1.087 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004458/0.6376, allocations: 119.8 kB / 1.087 GB, free: 7 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005431/0.6381, allocations: 164.8 kB / 1.087 GB, free: 6.836 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.931e-05/0.6382, allocations: 19.98 kB / 1.087 GB, free: 6.816 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007277/0.6389, allocations: 0.7271 MB / 1.088 GB, free: 6.066 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.6389, allocations: 4 kB / 1.088 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005162/0.6441, allocations: 1.856 MB / 1.09 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003958/0.6445, allocations: 327.1 kB / 1.09 GB, free: 3.797 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/0.6446, allocations: 20 kB / 1.09 GB, free: 3.777 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008385/0.6455, allocations: 99.81 kB / 1.09 GB, free: 3.68 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.976e-05/0.6456, allocations: 52.25 kB / 1.09 GB, free: 3.629 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.226e-05/0.6456, allocations: 39.97 kB / 1.09 GB, free: 3.59 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0009835/0.6466, allocations: 0.866 MB / 1.091 GB, free: 2.723 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6466, allocations: 3.938 kB / 1.091 GB, free: 2.719 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001391/0.648, allocations: 0.7057 MB / 1.092 GB, free: 2.012 MB / 0.8419 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 (55): * Single equations (assignments): 50 * 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006029/0.6541, allocations: 2.742 MB / 1.094 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002328/0.6564, allocations: 1.176 MB / 1.095 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6564, allocations: 0 / 1.095 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0008383/0.6573, allocations: 403.3 kB / 1.096 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003793/0.6611, allocations: 0.7933 MB / 1.097 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02217/0.6833, allocations: 11.23 MB / 1.108 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006259/0.6839, allocations: 1.176 MB / 1.109 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0009896/0.6849, allocations: 299 kB / 1.109 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006373/0.6855, allocations: 0.5149 MB / 1.11 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of SimCode: time 4.3e-07/0.6855, allocations: 0 / 1.11 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09355/0.7791, allocations: 42.26 MB / 1.151 GB, free: 5.371 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/0.7793, allocations: 273.3 kB / 1.151 GB, free: 5.012 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.659/3.438, allocations: 4 kB / 1.151 GB, free: 5.008 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL.fmu > Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)