Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.38/1.38, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 166.3 kB / 327 MB, free: 2.105 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.7/1.7, allocations: 205.4 MB / 0.578 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007292/0.0007292, allocations: 88.19 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003213/0.0003213, allocations: 8.875 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1892, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1066/0.2958, allocations: 129.4 MB / 1.027 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03249/0.3284, allocations: 22.8 MB / 1.05 GB, free: 6.754 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0058/0.3342, allocations: 107.2 kB / 1.05 GB, free: 6.648 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004379/0.3386, allocations: 1.204 MB / 1.051 GB, free: 5.438 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01201/0.3507, allocations: 3.737 MB / 1.054 GB, free: 1.688 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.4521/0.8028, allocations: 1.991 MB / 1.056 GB, free: 44.27 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01086/0.8137, allocations: 8.237 MB / 1.064 GB, free: 44.27 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004351/0.8181, allocations: 1.899 MB / 1.066 GB, free: 44.07 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006598/0.8247, allocations: 2.285 MB / 1.069 GB, free: 44.07 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005202/0.8299, allocations: 1.798 MB / 1.07 GB, free: 44.06 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0007204/0.8307, allocations: 93.33 kB / 1.07 GB, free: 44.06 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006076/0.8367, allocations: 1.619 MB / 1.072 GB, free: 44.05 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007597/0.8375, allocations: 443 kB / 1.072 GB, free: 44.04 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.003216/0.8407, allocations: 1.299 MB / 1.074 GB, free: 43.6 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.007677/0.8484, allocations: 4.099 MB / 1.078 GB, free: 43.18 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.8485, allocations: 0.625 kB / 1.078 GB, free: 43.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.174e-06/0.8485, allocations: 0 / 1.078 GB, free: 43.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.388e-05/0.8486, allocations: 3.625 kB / 1.078 GB, free: 43.18 MB / 0.698 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.006754/0.8553, allocations: 2.67 MB / 1.08 GB, free: 41.79 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.8554, allocations: 13.84 kB / 1.08 GB, free: 41.79 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005038/0.8559, allocations: 221.4 kB / 1.08 GB, free: 41.74 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005008/0.8609, allocations: 0.9514 MB / 1.081 GB, free: 41.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005218/0.8662, allocations: 2.293 MB / 1.084 GB, free: 40.98 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009913/0.8672, allocations: 324.2 kB / 1.084 GB, free: 40.96 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004812/0.8677, allocations: 160.1 kB / 1.084 GB, free: 40.96 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004183/0.8719, allocations: 1.98 MB / 1.086 GB, free: 40.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/0.8719, allocations: 5.062 kB / 1.086 GB, free: 40.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001543/0.8721, allocations: 62.41 kB / 1.086 GB, free: 40.73 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.608e-05/0.8721, allocations: 39.94 kB / 1.086 GB, free: 40.73 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004792/0.8769, allocations: 1.902 MB / 1.088 GB, free: 40.67 MB / 0.698 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.01372/0.8907, allocations: 9.075 MB / 1.097 GB, free: 36.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004546/0.8953, allocations: 1.303 MB / 1.098 GB, free: 36.19 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001368/0.8967, allocations: 476 kB / 1.099 GB, free: 36.17 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001431/0.8981, allocations: 1.726 MB / 1.1 GB, free: 34.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.8982, allocations: 43.03 kB / 1.1 GB, free: 34.15 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 2.705e-06/0.8982, allocations: 0 / 1.1 GB, free: 34.15 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.0105/0.9087, allocations: 2.505 MB / 1.103 GB, free: 33.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.9088, allocations: 94.05 kB / 1.103 GB, free: 33.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00473/0.9135, allocations: 2.517 MB / 1.105 GB, free: 33.35 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002743/0.9138, allocations: 44.45 kB / 1.105 GB, free: 33.32 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009644/0.9148, allocations: 1.051 MB / 1.106 GB, free: 33.05 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003079/0.9151, allocations: 264.3 kB / 1.107 GB, free: 32.89 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.485e-05/0.9152, allocations: 17.56 kB / 1.107 GB, free: 32.89 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.241e-05/0.9153, allocations: 345.1 kB / 1.107 GB, free: 32.58 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001734/0.917, allocations: 0.6244 MB / 1.108 GB, free: 32.56 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002074/0.9191, allocations: 1.001 MB / 1.109 GB, free: 32.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002944/0.9221, allocations: 1.322 MB / 1.11 GB, free: 31.79 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.9221, allocations: 0 / 1.11 GB, free: 31.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.005296/0.9274, allocations: 1.944 MB / 1.112 GB, free: 31.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.9275, allocations: 6.562 kB / 1.112 GB, free: 31.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.9275, allocations: 10.38 kB / 1.112 GB, free: 31.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001638/0.9291, allocations: 440 kB / 1.112 GB, free: 31.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.9304, allocations: 302.4 kB / 1.112 GB, free: 31.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001942/0.9323, allocations: 1.536 MB / 1.114 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003608/0.9359, allocations: 486 kB / 1.114 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001924/0.9361, allocations: 60.53 kB / 1.114 GB, free: 29.71 MB / 0.698 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 (109): * Single equations (assignments): 107 * 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.001001/0.9372, allocations: 464.6 kB / 1.115 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005087/0.9377, allocations: 248.3 kB / 1.115 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003572/0.9413, allocations: 1.555 MB / 1.117 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.409e-05/0.9413, allocations: 8.375 kB / 1.117 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.9413, allocations: 0 / 1.117 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.9413, allocations: 7.969 kB / 1.117 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007763/0.9491, allocations: 3.678 MB / 1.12 GB, free: 27.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.9491, allocations: 3.594 kB / 1.12 GB, free: 27.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006362/0.9498, allocations: 141.8 kB / 1.12 GB, free: 27.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001503/0.9513, allocations: 438 kB / 1.121 GB, free: 27.38 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.633e-05/0.9514, allocations: 30.06 kB / 1.121 GB, free: 27.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002508/0.9539, allocations: 1.632 MB / 1.122 GB, free: 26.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.543e-06/0.9539, allocations: 3.25 kB / 1.122 GB, free: 26.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006575/0.9605, allocations: 2.083 MB / 1.125 GB, free: 25.37 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001913/0.9625, allocations: 0.5037 MB / 1.125 GB, free: 25.05 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003981/0.9629, allocations: 25.12 kB / 1.125 GB, free: 25.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001808/0.9647, allocations: 202.3 kB / 1.125 GB, free: 24.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.18e-05/0.9648, allocations: 61.89 kB / 1.125 GB, free: 24.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-05/0.9649, allocations: 37 kB / 1.125 GB, free: 24.95 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002951/0.9679, allocations: 1.774 MB / 1.127 GB, free: 24.52 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.41e-07/0.9679, allocations: 0 / 1.127 GB, free: 24.52 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002296/0.9702, allocations: 0.6536 MB / 1.128 GB, free: 24.44 MB / 0.698 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.00685/0.977, allocations: 3.102 MB / 1.131 GB, free: 22.58 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004/0.9811, allocations: 1.42 MB / 1.132 GB, free: 21.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.9811, allocations: 4.188 kB / 1.132 GB, free: 21.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002249/0.9833, allocations: 0.7235 MB / 1.133 GB, free: 20.93 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007506/0.9909, allocations: 1.337 MB / 1.134 GB, free: 19.85 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03927/1.03, allocations: 19.3 MB / 1.153 GB, free: 2.379 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008246/1.031, allocations: 1.489 MB / 1.154 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002202/1.033, allocations: 444.5 kB / 1.155 GB, free: 452 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001249/1.034, allocations: 0.9124 MB / 1.156 GB, free: 212 kB / 0.698 GB Notification: Performance of SimCode: time 1.032e-06/1.034, allocations: 0 / 1.156 GB, free: 212 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1157/1.15, allocations: 68.83 MB / 1.223 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002443/1.15, allocations: 287.8 kB / 1.223 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.535/5.686, allocations: 7.938 kB / 1.223 GB, free: 11.82 MB / 0.7761 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)