Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.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.CarnotVerifyCOP,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",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.002036/0.002036, allocations: 99.16 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.002564/0.002564, 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.512/2.512, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.791/4.791, allocations: 409.2 MB / 0.6838 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000781/0.0007815, allocations: 12 kB / 0.8375 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.461/1.462, allocations: 146.8 MB / 0.9809 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1937/1.656, allocations: 110.7 MB / 1.089 GB, free: 7.348 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.06176/1.718, allocations: 19.95 MB / 1.108 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008673/1.727, allocations: 103.2 kB / 1.109 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.01005/1.737, allocations: 1.356 MB / 1.11 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.02884/1.766, allocations: 4.19 MB / 1.114 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.01747/1.783, allocations: 2.576 MB / 1.116 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01909/1.802, allocations: 3.916 MB / 1.12 GB, free: 7.258 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008681/1.811, allocations: 1.714 MB / 1.122 GB, free: 5.508 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01348/1.825, allocations: 2.012 MB / 1.124 GB, free: 3.488 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006701/1.831, allocations: 1.248 MB / 1.125 GB, free: 2.234 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0015/1.833, allocations: 88 kB / 1.125 GB, free: 2.148 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01166/1.845, allocations: 1.33 MB / 1.127 GB, free: 0.8164 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002258/1.847, allocations: 414.1 kB / 1.127 GB, free: 420 kB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.003391/1.85, allocations: 0.5551 MB / 1.127 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01139/1.862, allocations: 3.102 MB / 1.13 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.121e-05/1.862, allocations: 4 kB / 1.13 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.997e-06/1.862, allocations: 0 / 1.13 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001812/1.862, allocations: 0 / 1.13 GB, free: 12.73 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.01315/1.875, allocations: 2.691 MB / 1.133 GB, free: 9.961 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 7.847e-05/1.875, allocations: 8.562 kB / 1.133 GB, free: 9.953 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001056/1.877, allocations: 223.8 kB / 1.133 GB, free: 9.723 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008293/1.885, allocations: 0.9567 MB / 1.134 GB, free: 8.762 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008339/1.893, allocations: 2.071 MB / 1.136 GB, free: 6.617 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001827/1.895, allocations: 330.8 kB / 1.137 GB, free: 6.293 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006759/1.896, allocations: 156 kB / 1.137 GB, free: 6.141 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007326/1.903, allocations: 1.962 MB / 1.139 GB, free: 4.113 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.063e-05/1.903, allocations: 0 / 1.139 GB, free: 4.113 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002219/1.903, allocations: 64 kB / 1.139 GB, free: 4.051 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-05/1.904, allocations: 47.94 kB / 1.139 GB, free: 4.004 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007798/1.911, allocations: 1.882 MB / 1.141 GB, free: 2.121 MB / 0.8887 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.02616/1.938, allocations: 9.168 MB / 1.15 GB, free: 8.352 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007259/1.945, allocations: 1.327 MB / 1.151 GB, free: 7.008 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002097/1.947, allocations: 1.711 MB / 1.153 GB, free: 4.91 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.328e-05/1.947, allocations: 42.56 kB / 1.153 GB, free: 4.859 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=76): time 4.779e-06/1.947, allocations: 4 kB / 1.153 GB, free: 4.855 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.01514/1.962, allocations: 2.482 MB / 1.155 GB, free: 2.32 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001799/1.963, allocations: 89.09 kB / 1.155 GB, free: 2.215 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00997/1.973, allocations: 2.539 MB / 1.158 GB, free: 15.66 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.000564/1.973, allocations: 45.7 kB / 1.158 GB, free: 15.61 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.002119/1.975, allocations: 1.049 MB / 1.159 GB, free: 14.55 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008172/1.976, allocations: 268.2 kB / 1.159 GB, free: 14.28 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/1.976, allocations: 20 kB / 1.159 GB, free: 14.26 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0003205/1.977, allocations: 349.9 kB / 1.159 GB, free: 13.91 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00328/1.98, allocations: 0.6193 MB / 1.16 GB, free: 13.3 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003861/1.984, allocations: 1.003 MB / 1.161 GB, free: 12.14 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003362/1.987, allocations: 0.6897 MB / 1.161 GB, free: 11.45 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-05/1.987, allocations: 0 / 1.161 GB, free: 11.45 MB / 0.92 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.0102/1.998, allocations: 1.958 MB / 1.163 GB, free: 9.48 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.081e-05/1.998, allocations: 8.625 kB / 1.163 GB, free: 9.473 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.692e-05/1.998, allocations: 8 kB / 1.163 GB, free: 9.465 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002843/2.001, allocations: 449.1 kB / 1.164 GB, free: 9.02 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002358/2.003, allocations: 307.6 kB / 1.164 GB, free: 8.719 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003656/2.007, allocations: 1.546 MB / 1.166 GB, free: 7.121 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005864/2.013, allocations: 477.9 kB / 1.166 GB, free: 6.652 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005175/2.013, allocations: 59.97 kB / 1.166 GB, free: 6.594 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (112): * Single equations (assignments): 110 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 13,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.00243/2.016, allocations: 465.4 kB / 1.167 GB, free: 6.129 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001194/2.017, allocations: 249 kB / 1.167 GB, free: 5.883 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006598/2.024, allocations: 1.545 MB / 1.168 GB, free: 4.316 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-05/2.024, allocations: 8 kB / 1.168 GB, free: 4.309 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.045e-05/2.024, allocations: 4 kB / 1.168 GB, free: 4.305 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.122e-05/2.024, allocations: 3.984 kB / 1.168 GB, free: 4.301 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01456/2.038, allocations: 3.72 MB / 1.172 GB, free: 480 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.962e-05/2.038, allocations: 0 / 1.172 GB, free: 480 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/2.039, allocations: 140.1 kB / 1.172 GB, free: 340 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002674/2.042, allocations: 435.2 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001608/2.042, allocations: 27.94 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004201/2.047, allocations: 1.631 MB / 1.174 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.187e-05/2.047, allocations: 4 kB / 1.174 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01147/2.058, allocations: 2.341 MB / 1.176 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003436/2.062, allocations: 0.5248 MB / 1.177 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009882/2.063, allocations: 23.98 kB / 1.177 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003774/2.066, allocations: 199.7 kB / 1.177 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/2.067, allocations: 55.86 kB / 1.177 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002339/2.067, allocations: 43.95 kB / 1.177 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.006718/2.074, allocations: 1.785 MB / 1.179 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.102e-06/2.074, allocations: 0 / 1.179 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.005203/2.079, allocations: 0.6944 MB / 1.18 GB, free: 8.312 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (63): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 15,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.01562/2.095, allocations: 4.182 MB / 1.184 GB, free: 4.023 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.007678/2.102, allocations: 1.432 MB / 1.185 GB, free: 2.59 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.579e-05/2.102, allocations: 0 / 1.185 GB, free: 2.59 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.004078/2.107, allocations: 0.7153 MB / 1.186 GB, free: 1.875 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01186/2.118, allocations: 1.246 MB / 1.187 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02456/2.143, allocations: 10.84 MB / 1.198 GB, free: 5.383 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001835/2.145, allocations: 1.537 MB / 1.199 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.004037/2.149, allocations: 434.9 kB / 1.2 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002401/2.152, allocations: 0.9015 MB / 1.2 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of SimCode: time 2.975e-06/2.152, allocations: 0 / 1.2 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.394/3.546, allocations: 67.78 MB / 1.267 GB, free: 254.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005825/3.547, allocations: 261 kB / 1.267 GB, free: 254.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.357/10.9, allocations: 0 / 1.267 GB, free: 254.1 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat does not exist to compare? outputFormat=mat