Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_8_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.00133/0.00133, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001514/0.001514, allocations: 191.4 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.325/1.325, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.637/1.637, allocations: 292.3 MB / 0.5484 GB, free: 13.7 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002333/0.002333, allocations: 64.2 kB / 0.6709 GB, free: 26.59 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1964, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1163/0.3127, allocations: 131.4 MB / 0.9111 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.3661/0.6789, allocations: 23.1 MB / 0.9337 GB, free: 44.25 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00332/0.6822, allocations: 110.8 kB / 0.9338 GB, free: 44.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002916/0.6852, allocations: 1.217 MB / 0.935 GB, free: 44.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.008552/0.6938, allocations: 3.733 MB / 0.9386 GB, free: 44.08 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004192/0.698, allocations: 1.989 MB / 0.9405 GB, free: 44.04 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.008565/0.7065, allocations: 8.242 MB / 0.9486 GB, free: 44.03 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003004/0.7096, allocations: 1.958 MB / 0.9505 GB, free: 43.76 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005049/0.7146, allocations: 2.373 MB / 0.9528 GB, free: 43.58 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002595/0.7172, allocations: 1.871 MB / 0.9546 GB, free: 43.22 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002944/0.7175, allocations: 120.6 kB / 0.9548 GB, free: 43.22 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004009/0.7216, allocations: 1.749 MB / 0.9565 GB, free: 43.04 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004302/0.722, allocations: 488 kB / 0.9569 GB, free: 42.92 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.00146/0.7235, allocations: 1.328 MB / 0.9582 GB, free: 42.49 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004835/0.7283, allocations: 4.245 MB / 0.9624 GB, free: 41.9 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.7283, allocations: 0 / 0.9624 GB, free: 41.9 MB / 0.7325 GB Notification: Performance of FrontEnd: time 7.91e-07/0.7283, allocations: 0 / 0.9624 GB, free: 41.9 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.495e-05/0.7284, allocations: 1.594 kB / 0.9624 GB, free: 41.9 MB / 0.7325 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.005574/0.734, allocations: 3.185 MB / 0.9655 GB, free: 40.34 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/0.734, allocations: 9.625 kB / 0.9655 GB, free: 40.34 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002591/0.7343, allocations: 227.3 kB / 0.9657 GB, free: 40.29 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004468/0.7388, allocations: 0.8409 MB / 0.9665 GB, free: 40.11 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003947/0.7427, allocations: 2.288 MB / 0.9688 GB, free: 39.49 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009119/0.7436, allocations: 299.3 kB / 0.9691 GB, free: 39.47 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002311/0.7439, allocations: 161.6 kB / 0.9692 GB, free: 39.47 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003749/0.7476, allocations: 1.936 MB / 0.9711 GB, free: 39.24 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/0.7477, allocations: 3.938 kB / 0.9711 GB, free: 39.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001494/0.7478, allocations: 63.06 kB / 0.9712 GB, free: 39.23 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.408e-05/0.7479, allocations: 39 kB / 0.9712 GB, free: 39.23 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00445/0.7523, allocations: 1.814 MB / 0.973 GB, free: 39.04 MB / 0.7325 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.01017/0.7625, allocations: 9.024 MB / 0.9818 GB, free: 31.67 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003895/0.7664, allocations: 1.192 MB / 0.9829 GB, free: 31.05 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009501/0.7674, allocations: 466.9 kB / 0.9834 GB, free: 30.83 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007065/0.7681, allocations: 1.718 MB / 0.9851 GB, free: 28.81 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.7681, allocations: 43.16 kB / 0.9851 GB, free: 28.76 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 2.655e-06/0.7681, allocations: 0 / 0.9851 GB, free: 28.76 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.007953/0.7761, allocations: 2.328 MB / 0.9874 GB, free: 27.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/0.7761, allocations: 92.31 kB / 0.9875 GB, free: 27.39 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003169/0.7793, allocations: 2.492 MB / 0.9899 GB, free: 26.08 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.545e-05/0.7794, allocations: 45.42 kB / 0.99 GB, free: 26.04 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006265/0.78, allocations: 1.046 MB / 0.991 GB, free: 25.11 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/0.7802, allocations: 263.7 kB / 0.9912 GB, free: 24.89 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003997/0.7806, allocations: 259 kB / 0.9915 GB, free: 24.74 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.925e-05/0.7807, allocations: 351.6 kB / 0.9918 GB, free: 24.4 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001615/0.7823, allocations: 0.5845 MB / 0.9924 GB, free: 24.12 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001826/0.7842, allocations: 0.9712 MB / 0.9933 GB, free: 23.38 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002591/0.7868, allocations: 1.264 MB / 0.9946 GB, free: 22.56 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.7868, allocations: 2.656 kB / 0.9946 GB, free: 22.56 MB / 0.7325 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005885/0.7927, allocations: 2.046 MB / 0.9966 GB, free: 21.55 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.7927, allocations: 19.91 kB / 0.9966 GB, free: 21.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.7927, allocations: 13.31 kB / 0.9966 GB, free: 21.54 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001452/0.7942, allocations: 411 kB / 0.997 GB, free: 21.33 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.7954, allocations: 293.4 kB / 0.9973 GB, free: 21.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00179/0.7972, allocations: 1.51 MB / 0.9987 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002909/0.8001, allocations: 441.1 kB / 0.9992 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/0.8003, allocations: 63.47 kB / 0.9992 GB, free: 19.71 MB / 0.7325 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.0007328/0.801, allocations: 466.9 kB / 0.9997 GB, free: 19.38 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003442/0.8014, allocations: 246.5 kB / 0.9999 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00321/0.8046, allocations: 1.494 MB / 1.001 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/0.8046, allocations: 12.33 kB / 1.001 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.8046, allocations: 0 / 1.001 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/0.8046, allocations: 6.297 kB / 1.001 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006471/0.8111, allocations: 3.59 MB / 1.005 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-06/0.8111, allocations: 5.156 kB / 1.005 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000603/0.8117, allocations: 127 kB / 1.005 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001348/0.8131, allocations: 432.3 kB / 1.005 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.895e-05/0.8132, allocations: 21.17 kB / 1.005 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002158/0.8153, allocations: 1.567 MB / 1.007 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.8153, allocations: 8.688 kB / 1.007 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00525/0.8206, allocations: 1.928 MB / 1.009 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007781/0.8214, allocations: 493.5 kB / 1.009 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003115/0.8217, allocations: 20 kB / 1.009 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001758/0.8235, allocations: 171.8 kB / 1.01 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.661e-05/0.8236, allocations: 55.8 kB / 1.01 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.793e-05/0.8237, allocations: 43.97 kB / 1.01 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002346/0.826, allocations: 1.754 MB / 1.011 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.81e-07/0.826, allocations: 0 / 1.011 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001749/0.8278, allocations: 0.6827 MB / 1.012 GB, free: 9.41 MB / 0.7325 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.006541/0.8343, allocations: 2.975 MB / 1.015 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003733/0.8381, allocations: 1.365 MB / 1.016 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.8381, allocations: 0 / 1.016 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002034/0.8401, allocations: 0.6569 MB / 1.017 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005485/0.8456, allocations: 1.287 MB / 1.018 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0424/0.888, allocations: 19.66 MB / 1.037 GB, free: 14.13 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/0.8891, allocations: 1.482 MB / 1.039 GB, free: 12.62 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002106/0.8913, allocations: 452.5 kB / 1.039 GB, free: 12.17 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001183/0.8925, allocations: 0.8937 MB / 1.04 GB, free: 11.28 MB / 0.7637 GB Notification: Performance of SimCode: time 7.92e-07/0.8925, allocations: 0 / 1.04 GB, free: 11.28 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6586/1.551, allocations: 65.95 MB / 1.104 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002377/1.551, allocations: 267 kB / 1.105 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.373/4.925, allocations: 0 / 1.105 GB, free: 9.906 MB / 0.8262 GB (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)