Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_latest_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.001067/0.001067, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001552/0.001551, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.557/2.557, allocations: 409.4 MB / 0.684 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003742/0.0003745, allocations: 16 kB / 0.8378 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7216/0.722, allocations: 146.8 MB / 0.9811 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.06582/0.7879, allocations: 69.44 MB / 1.049 GB, free: 0.6328 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01776/0.8057, allocations: 11.96 MB / 1.061 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002533/0.8083, allocations: 59.62 kB / 1.061 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001957/0.8103, allocations: 0.5627 MB / 1.061 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.006729/0.817, allocations: 1.893 MB / 1.063 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003196/0.8202, allocations: 0.966 MB / 1.064 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.006249/0.8265, allocations: 4.8 MB / 1.069 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002111/0.8286, allocations: 1.009 MB / 1.07 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002943/0.8316, allocations: 1.264 MB / 1.071 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002107/0.8337, allocations: 1.069 MB / 1.072 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003565/0.8341, allocations: 56 kB / 1.072 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002796/0.8369, allocations: 0.9354 MB / 1.073 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0006039/0.8375, allocations: 278.7 kB / 1.073 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001182/0.8387, allocations: 360.9 kB / 1.074 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.004265/0.843, allocations: 2.089 MB / 1.076 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.843, allocations: 0 / 1.076 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.185e-06/0.8431, allocations: 0 / 1.076 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.344e-05/0.8432, allocations: 0 / 1.076 GB, free: 5.262 MB / 0.8262 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.004383/0.8475, allocations: 1.8 MB / 1.077 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.8476, allocations: 12.03 kB / 1.077 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003286/0.8479, allocations: 151.9 kB / 1.077 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009126/0.8489, allocations: 237.9 kB / 1.078 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002955/0.8518, allocations: 1.454 MB / 1.079 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.135e-05/0.8519, allocations: 78 kB / 1.079 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000198/0.8521, allocations: 100 kB / 1.079 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00217/0.8543, allocations: 1.108 MB / 1.08 GB, free: 172 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.599e-05/0.8544, allocations: 7.953 kB / 1.08 GB, free: 164 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.634e-05/0.8545, allocations: 40 kB / 1.08 GB, free: 124 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.342e-05/0.8545, allocations: 27.94 kB / 1.08 GB, free: 96 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/0.8567, allocations: 0.9252 MB / 1.081 GB, free: 15.17 MB / 0.8419 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.007081/0.8638, allocations: 4.903 MB / 1.086 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/0.8651, allocations: 0.6544 MB / 1.087 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007015/0.8658, allocations: 370.3 kB / 1.087 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006325/0.8665, allocations: 0.8277 MB / 1.088 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.8665, allocations: 43.12 kB / 1.088 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=62): time 2.906e-06/0.8665, allocations: 0 / 1.088 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of matching and sorting (n=62): time 0.006717/0.8733, allocations: 1.885 MB / 1.09 GB, free: 5.98 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.8733, allocations: 63.97 kB / 1.09 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001855/0.8752, allocations: 1.198 MB / 1.091 GB, free: 4.691 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001133/0.8753, allocations: 41.64 kB / 1.091 GB, free: 4.645 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005052/0.8758, allocations: 0.6026 MB / 1.092 GB, free: 4.035 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002281/0.8761, allocations: 216.9 kB / 1.092 GB, free: 3.82 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.8761, allocations: 19.94 kB / 1.092 GB, free: 3.801 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.8763, allocations: 333.9 kB / 1.092 GB, free: 3.469 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006724/0.8769, allocations: 301.8 kB / 1.093 GB, free: 3.172 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007933/0.8777, allocations: 495 kB / 1.093 GB, free: 2.617 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007332/0.8785, allocations: 367 kB / 1.093 GB, free: 2.258 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.8785, allocations: 4 kB / 1.093 GB, free: 2.254 MB / 0.8419 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004434/0.8829, allocations: 1.402 MB / 1.095 GB, free: 0.8398 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.000123/0.8831, allocations: 189.4 kB / 1.095 GB, free: 0.6094 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.8831, allocations: 4 kB / 1.095 GB, free: 0.6055 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007773/0.8839, allocations: 168.7 kB / 1.095 GB, free: 448 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007552/0.8847, allocations: 163.7 kB / 1.095 GB, free: 284 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008496/0.8855, allocations: 0.7241 MB / 1.096 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/0.8868, allocations: 167.1 kB / 1.096 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-05/0.8869, allocations: 31.98 kB / 1.096 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.8869, allocations: 4.781 kB / 1.096 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004165/0.8911, allocations: 1.261 MB / 1.097 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.8911, allocations: 7.953 kB / 1.097 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005845/0.8917, allocations: 161.1 kB / 1.098 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005977/0.8923, allocations: 167.8 kB / 1.098 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007959/0.8931, allocations: 0.7318 MB / 1.098 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/0.8943, allocations: 159.2 kB / 1.099 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.226e-05/0.8943, allocations: 31.98 kB / 1.099 GB, free: 12.79 MB / 0.8575 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.000665/0.895, allocations: 412.9 kB / 1.099 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000313/0.8953, allocations: 134.3 kB / 1.099 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00436/0.8997, allocations: 1.424 MB / 1.1 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/0.8997, allocations: 8 kB / 1.101 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.8997, allocations: 0 / 1.101 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00385/0.9036, allocations: 1.244 MB / 1.102 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007125/0.9108, allocations: 2.746 MB / 1.104 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.9108, allocations: 4 kB / 1.104 GB, free: 6.652 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005204/0.9113, allocations: 132.2 kB / 1.105 GB, free: 6.523 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000628/0.912, allocations: 152.7 kB / 1.105 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.266e-05/0.9121, allocations: 20 kB / 1.105 GB, free: 6.352 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008051/0.9129, allocations: 0.7163 MB / 1.105 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.543e-06/0.9129, allocations: 7.953 kB / 1.105 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005102/0.918, allocations: 1.852 MB / 1.107 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008913/0.9189, allocations: 339.1 kB / 1.108 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003269/0.9193, allocations: 16 kB / 1.108 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.9203, allocations: 87.97 kB / 1.108 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.9204, allocations: 64.2 kB / 1.108 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.842e-05/0.9205, allocations: 31.98 kB / 1.108 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001492/0.922, allocations: 0.8582 MB / 1.109 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.71e-07/0.922, allocations: 0 / 1.109 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002475/0.9245, allocations: 0.7017 MB / 1.109 GB, free: 1.57 MB / 0.8575 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.006197/0.9307, allocations: 2.72 MB / 1.112 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002741/0.9335, allocations: 1.168 MB / 1.113 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/0.9335, allocations: 4 kB / 1.113 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008971/0.9344, allocations: 403.3 kB / 1.113 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003776/0.9382, allocations: 0.7617 MB / 1.114 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0198/0.958, allocations: 8.354 MB / 1.122 GB, free: 3.727 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008603/0.959, allocations: 1.168 MB / 1.123 GB, free: 2.527 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001408/0.9604, allocations: 303 kB / 1.124 GB, free: 2.227 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007399/0.9611, allocations: 0.5032 MB / 1.124 GB, free: 1.723 MB / 0.8731 GB Notification: Performance of SimCode: time 9.02e-07/0.9611, allocations: 4 kB / 1.124 GB, free: 1.719 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07085/1.032, allocations: 41.91 MB / 1.165 GB, free: 8.363 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/1.032, allocations: 264.3 kB / 1.165 GB, free: 8 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.027/4.06, allocations: 0 / 1.165 GB, free: 8 MB / 0.92 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL_res.mat does not exist to compare? outputFormat=mat