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.001913/0.001913, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.002313/0.002313, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.937/2.937, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.048/5.048, allocations: 409.2 MB / 0.6838 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007209/0.0007213, allocations: 11.98 kB / 0.8375 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.502/1.503, allocations: 146.8 MB / 0.9809 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.1133/1.616, allocations: 62.98 MB / 1.042 GB, free: 7.152 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0284/1.645, allocations: 11 MB / 1.053 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004544/1.65, allocations: 51.62 kB / 1.053 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.005071/1.655, allocations: 0.7462 MB / 1.054 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01635/1.671, allocations: 2.301 MB / 1.056 GB, free: 9.031 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.009565/1.681, allocations: 1.528 MB / 1.058 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01053/1.691, allocations: 2.505 MB / 1.06 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0047/1.696, allocations: 1.045 MB / 1.061 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006535/1.703, allocations: 1.144 MB / 1.062 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003471/1.706, allocations: 0.7739 MB / 1.063 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0008154/1.707, allocations: 56 kB / 1.063 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005832/1.713, allocations: 0.8542 MB / 1.064 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001154/1.714, allocations: 262.9 kB / 1.064 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001693/1.716, allocations: 356.9 kB / 1.064 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.006591/1.723, allocations: 2.018 MB / 1.066 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.378e-06/1.723, allocations: 0 / 1.066 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.449e-06/1.723, allocations: 3.938 kB / 1.066 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.345e-05/1.723, allocations: 4 kB / 1.066 GB, free: 14.47 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.007781/1.731, allocations: 1.787 MB / 1.068 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 7.61e-05/1.731, allocations: 8.031 kB / 1.068 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007708/1.731, allocations: 148 kB / 1.068 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002079/1.734, allocations: 241.8 kB / 1.069 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005237/1.739, allocations: 1.377 MB / 1.07 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/1.739, allocations: 78 kB / 1.07 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002871/1.739, allocations: 100 kB / 1.07 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007248/1.747, allocations: 1.116 MB / 1.071 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.667e-05/1.747, allocations: 3.953 kB / 1.071 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001687/1.747, allocations: 40 kB / 1.071 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.77e-05/1.747, allocations: 24 kB / 1.071 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003567/1.751, allocations: 0.9251 MB / 1.072 GB, free: 8.473 MB / 0.8262 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.01286/1.763, allocations: 4.97 MB / 1.077 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002435/1.766, allocations: 0.6545 MB / 1.078 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001288/1.767, allocations: 0.8199 MB / 1.078 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.58e-05/1.767, allocations: 43.12 kB / 1.078 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=62): time 5.621e-06/1.767, allocations: 0 / 1.078 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=62): time 0.01202/1.779, allocations: 1.893 MB / 1.08 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.173e-05/1.78, allocations: 59.92 kB / 1.08 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003456/1.783, allocations: 1.253 MB / 1.082 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.000264/1.783, allocations: 41.64 kB / 1.082 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009111/1.784, allocations: 0.5949 MB / 1.082 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004481/1.785, allocations: 220.7 kB / 1.082 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.703e-05/1.785, allocations: 16 kB / 1.082 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002256/1.785, allocations: 330 kB / 1.083 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/1.786, allocations: 297.8 kB / 1.083 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001417/1.788, allocations: 0.4927 MB / 1.084 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/1.789, allocations: 363 kB / 1.084 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/1.789, allocations: 0 / 1.084 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.008161/1.797, allocations: 1.398 MB / 1.085 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008736/1.798, allocations: 1.336 MB / 1.087 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/1.798, allocations: 4 kB / 1.087 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/1.799, allocations: 164.7 kB / 1.087 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/1.801, allocations: 167.7 kB / 1.087 GB, free: 8.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/1.802, allocations: 0.7318 MB / 1.088 GB, free: 7.902 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002343/1.805, allocations: 163.1 kB / 1.088 GB, free: 7.742 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002438/1.805, allocations: 31.98 kB / 1.088 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/1.805, allocations: 4 kB / 1.088 GB, free: 7.707 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007642/1.813, allocations: 1.257 MB / 1.089 GB, free: 6.445 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/1.813, allocations: 4 kB / 1.089 GB, free: 6.441 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/1.814, allocations: 169 kB / 1.089 GB, free: 6.273 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/1.815, allocations: 159.8 kB / 1.089 GB, free: 6.117 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/1.817, allocations: 0.7202 MB / 1.09 GB, free: 5.371 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002358/1.819, allocations: 159.2 kB / 1.09 GB, free: 5.215 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001739/1.819, allocations: 39.97 kB / 1.09 GB, free: 5.176 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 (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.001322/1.821, allocations: 424.8 kB / 1.091 GB, free: 4.75 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006011/1.821, allocations: 138.3 kB / 1.091 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009002/1.83, allocations: 1.416 MB / 1.092 GB, free: 3.184 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002207/1.831, allocations: 11.98 kB / 1.092 GB, free: 3.172 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/1.831, allocations: 4 kB / 1.092 GB, free: 3.168 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007576/1.838, allocations: 1.244 MB / 1.093 GB, free: 1.887 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01282/1.851, allocations: 2.766 MB / 1.096 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-05/1.851, allocations: 4 kB / 1.096 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/1.852, allocations: 124.2 kB / 1.096 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001269/1.854, allocations: 160.7 kB / 1.096 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.666e-05/1.854, allocations: 20 kB / 1.096 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001937/1.856, allocations: 0.724 MB / 1.097 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.036e-05/1.856, allocations: 4 kB / 1.097 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01019/1.866, allocations: 2.062 MB / 1.099 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001596/1.868, allocations: 347.1 kB / 1.099 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003595/1.868, allocations: 23.89 kB / 1.099 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001605/1.87, allocations: 91.91 kB / 1.1 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001831/1.87, allocations: 56.31 kB / 1.1 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/1.87, allocations: 27.98 kB / 1.1 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002323/1.872, allocations: 0.905 MB / 1.1 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6.21e-07/1.872, allocations: 0 / 1.1 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.003875/1.876, allocations: 0.7095 MB / 1.101 GB, free: 9.504 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.01403/1.89, allocations: 3.864 MB / 1.105 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00501/1.895, allocations: 1.176 MB / 1.106 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-05/1.895, allocations: 4 kB / 1.106 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001666/1.897, allocations: 403.3 kB / 1.106 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006942/1.904, allocations: 0.739 MB / 1.107 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01363/1.918, allocations: 5.793 MB / 1.113 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001386/1.919, allocations: 1.192 MB / 1.114 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002436/1.922, allocations: 307 kB / 1.114 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001252/1.923, allocations: 0.5109 MB / 1.115 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of SimCode: time 1.392e-06/1.923, allocations: 4 kB / 1.115 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1621/2.085, allocations: 41.82 MB / 1.156 GB, free: 1.961 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004491/2.086, allocations: 259.3 kB / 1.156 GB, free: 1.621 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.719/7.805, allocations: 0 / 1.156 GB, free: 1.621 MB / 0.9044 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