Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.CarnotVerifyCOP,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_9_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.0009247/0.0009249, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005227/0.005227, allocations: 170 kB / 16.26 MB, free: 6.613 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.293/1.293, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.243/2.243, allocations: 390.9 MB / 0.6664 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003069/0.0003072, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.568/0.5683, allocations: 142.4 MB / 0.9552 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1094/0.6777, allocations: 129.4 MB / 1.081 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02773/0.7055, allocations: 23.07 MB / 1.104 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00308/0.7086, allocations: 115.2 kB / 1.104 GB, free: 6.355 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002755/0.7113, allocations: 1.2 MB / 1.105 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.008455/0.7198, allocations: 3.774 MB / 1.109 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004283/0.7241, allocations: 1.954 MB / 1.111 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.008474/0.7326, allocations: 8.281 MB / 1.119 GB, free: 7.121 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002432/0.735, allocations: 1.907 MB / 1.121 GB, free: 5.156 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003756/0.7388, allocations: 2.309 MB / 1.123 GB, free: 2.836 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001945/0.7408, allocations: 1.784 MB / 1.125 GB, free: 1.043 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002038/0.741, allocations: 92 kB / 1.125 GB, free: 0.9531 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003218/0.7442, allocations: 1.707 MB / 1.127 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003836/0.7446, allocations: 457.6 kB / 1.127 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001139/0.7457, allocations: 1.292 MB / 1.128 GB, free: 13.49 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003938/0.7497, allocations: 4.139 MB / 1.132 GB, free: 9.336 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.7497, allocations: 4 kB / 1.132 GB, free: 9.332 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7497, allocations: 0 / 1.132 GB, free: 9.332 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.102e-05/0.7497, allocations: 0 / 1.132 GB, free: 9.332 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.004304/0.754, allocations: 2.668 MB / 1.135 GB, free: 6.582 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.7541, allocations: 8.031 kB / 1.135 GB, free: 6.574 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002422/0.7543, allocations: 227.7 kB / 1.135 GB, free: 6.34 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004344/0.7587, allocations: 0.9567 MB / 1.136 GB, free: 5.379 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003746/0.7624, allocations: 2.284 MB / 1.138 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009658/0.7634, allocations: 330.8 kB / 1.139 GB, free: 2.695 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002258/0.7637, allocations: 160 kB / 1.139 GB, free: 2.539 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003835/0.7675, allocations: 1.977 MB / 1.141 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/0.7675, allocations: 7.938 kB / 1.141 GB, free: 500 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001467/0.7677, allocations: 64 kB / 1.141 GB, free: 436 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.613e-05/0.7677, allocations: 36 kB / 1.141 GB, free: 400 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004717/0.7725, allocations: 1.897 MB / 1.143 GB, free: 14.49 MB / 0.9044 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.01098/0.7834, allocations: 9.102 MB / 1.152 GB, free: 4.793 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004385/0.7878, allocations: 1.287 MB / 1.153 GB, free: 3.488 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/0.789, allocations: 486.2 kB / 1.153 GB, free: 3.008 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/0.79, allocations: 1.726 MB / 1.155 GB, free: 0.8945 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.7901, allocations: 42.55 kB / 1.155 GB, free: 0.8438 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=76): time 2.595e-06/0.7901, allocations: 4 kB / 1.155 GB, free: 0.8398 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.008541/0.7986, allocations: 2.507 MB / 1.157 GB, free: 14.28 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.7987, allocations: 85.11 kB / 1.158 GB, free: 14.18 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003448/0.8021, allocations: 2.512 MB / 1.16 GB, free: 11.64 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.207e-05/0.8022, allocations: 49.69 kB / 1.16 GB, free: 11.59 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008128/0.803, allocations: 1.041 MB / 1.161 GB, free: 10.54 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/0.8033, allocations: 268.2 kB / 1.161 GB, free: 10.27 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.8034, allocations: 89.66 kB / 1.161 GB, free: 10.18 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.8035, allocations: 349.9 kB / 1.162 GB, free: 9.832 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001819/0.8053, allocations: 0.6272 MB / 1.162 GB, free: 9.203 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002067/0.8074, allocations: 1.005 MB / 1.163 GB, free: 8.047 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003012/0.8104, allocations: 1.338 MB / 1.165 GB, free: 6.609 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.8105, allocations: 0 / 1.165 GB, free: 6.609 MB / 0.92 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006336/0.8168, allocations: 2.192 MB / 1.167 GB, free: 4.398 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.8168, allocations: 8 kB / 1.167 GB, free: 4.391 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.8168, allocations: 8 kB / 1.167 GB, free: 4.383 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00154/0.8184, allocations: 445.4 kB / 1.167 GB, free: 3.941 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.8196, allocations: 311.5 kB / 1.168 GB, free: 3.637 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002113/0.8218, allocations: 1.541 MB / 1.169 GB, free: 2.047 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002743/0.8245, allocations: 487.8 kB / 1.17 GB, free: 1.57 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.8246, allocations: 59.97 kB / 1.17 GB, free: 1.512 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0006844/0.8253, allocations: 465.4 kB / 1.17 GB, free: 1.047 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003069/0.8256, allocations: 248.9 kB / 1.17 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003535/0.8292, allocations: 1.545 MB / 1.172 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.8292, allocations: 8 kB / 1.172 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.8292, allocations: 4 kB / 1.172 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.8292, allocations: 11.92 kB / 1.172 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0072/0.8364, allocations: 3.69 MB / 1.175 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.834e-06/0.8365, allocations: 4.375 kB / 1.175 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006178/0.8371, allocations: 135.8 kB / 1.176 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001439/0.8385, allocations: 447.6 kB / 1.176 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-05/0.8386, allocations: 31.97 kB / 1.176 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002631/0.8412, allocations: 1.631 MB / 1.178 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.8413, allocations: 7.938 kB / 1.178 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005883/0.8471, allocations: 2.072 MB / 1.18 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000699/0.8479, allocations: 0.5015 MB / 1.18 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002604/0.8481, allocations: 20 kB / 1.18 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001759/0.8499, allocations: 199.7 kB / 1.18 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.091e-05/0.85, allocations: 59.8 kB / 1.18 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-05/0.8501, allocations: 43.97 kB / 1.18 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002966/0.853, allocations: 1.773 MB / 1.182 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8531, allocations: 0 / 1.182 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001707/0.8548, allocations: 0.6788 MB / 1.183 GB, free: 3.672 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007251/0.862, allocations: 3.131 MB / 1.186 GB, free: 484 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004092/0.8661, allocations: 1.439 MB / 1.187 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.8661, allocations: 0 / 1.187 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002352/0.8685, allocations: 0.7265 MB / 1.188 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006782/0.8753, allocations: 1.311 MB / 1.189 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04103/0.9163, allocations: 20.05 MB / 1.209 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/0.9174, allocations: 1.49 MB / 1.21 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001743/0.9191, allocations: 436.4 kB / 1.211 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/0.9203, allocations: 0.9093 MB / 1.212 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of SimCode: time 5.71e-07/0.9203, allocations: 0 / 1.212 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4988/1.419, allocations: 68.86 MB / 1.279 GB, free: 258.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001413/1.419, allocations: 269.4 kB / 1.279 GB, free: 258.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.319/4.738, allocations: 0 / 1.279 GB, free: 258.6 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)