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.267/1.267, allocations: 251.5 MB / 266.7 MB, free: 11.06 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.0008737/0.0008737, allocations: 179.3 kB / 325.8 MB, free: 2.719 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.452/1.452, allocations: 205 MB / 0.576 GB, free: 20.98 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.0006575/0.0006575, allocations: 90.31 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000302/0.0003022, allocations: 8.188 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1732, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.103/0.2763, allocations: 131 MB / 1.024 GB, free: 0.6172 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.03202/0.3083, allocations: 23.03 MB / 1.047 GB, free: 9.52 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004647/0.313, allocations: 107.3 kB / 1.047 GB, free: 9.414 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004229/0.3173, allocations: 1.212 MB / 1.048 GB, free: 8.195 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01147/0.3288, allocations: 3.751 MB / 1.052 GB, free: 4.43 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005403/0.3342, allocations: 1.979 MB / 1.054 GB, free: 2.473 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.3942/0.7284, allocations: 8.237 MB / 1.062 GB, free: 44.95 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003914/0.7323, allocations: 1.883 MB / 1.063 GB, free: 44.74 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006732/0.7391, allocations: 2.282 MB / 1.066 GB, free: 44.73 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004393/0.7435, allocations: 1.796 MB / 1.067 GB, free: 44.73 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005012/0.744, allocations: 90.56 kB / 1.067 GB, free: 44.73 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00468/0.7487, allocations: 1.622 MB / 1.069 GB, free: 44.73 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006006/0.7493, allocations: 449.9 kB / 1.07 GB, free: 44.73 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00203/0.7514, allocations: 1.266 MB / 1.071 GB, free: 44.34 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00615/0.7575, allocations: 4.1 MB / 1.075 GB, free: 43.92 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.7576, allocations: 2.344 kB / 1.075 GB, free: 43.92 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7576, allocations: 0 / 1.075 GB, free: 43.92 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.103e-05/0.7576, allocations: 1.219 kB / 1.075 GB, free: 43.92 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.004788/0.7624, allocations: 2.666 MB / 1.077 GB, free: 42.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.7625, allocations: 13.59 kB / 1.077 GB, free: 42.53 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002652/0.7628, allocations: 220.8 kB / 1.078 GB, free: 42.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004358/0.7671, allocations: 0.9493 MB / 1.079 GB, free: 42.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004111/0.7713, allocations: 2.296 MB / 1.081 GB, free: 41.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008898/0.7722, allocations: 326.9 kB / 1.081 GB, free: 41.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001934/0.7724, allocations: 163 kB / 1.081 GB, free: 41.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003673/0.7761, allocations: 1.978 MB / 1.083 GB, free: 41.47 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/0.7761, allocations: 3.375 kB / 1.083 GB, free: 41.47 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/0.7762, allocations: 63.84 kB / 1.083 GB, free: 41.47 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.53e-05/0.7763, allocations: 42.08 kB / 1.083 GB, free: 41.47 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004303/0.7806, allocations: 1.897 MB / 1.085 GB, free: 41.41 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.01067/0.7913, allocations: 9.073 MB / 1.094 GB, free: 37.03 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00387/0.7951, allocations: 1.302 MB / 1.095 GB, free: 36.94 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009615/0.7961, allocations: 483.5 kB / 1.096 GB, free: 36.92 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007675/0.7969, allocations: 1.73 MB / 1.097 GB, free: 34.95 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.7969, allocations: 42.38 kB / 1.097 GB, free: 34.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 2.905e-06/0.7969, allocations: 0 / 1.097 GB, free: 34.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.008896/0.8058, allocations: 2.51 MB / 1.1 GB, free: 34.45 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.8059, allocations: 92.22 kB / 1.1 GB, free: 34.35 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003686/0.8096, allocations: 2.518 MB / 1.102 GB, free: 34.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000126/0.8097, allocations: 43.52 kB / 1.102 GB, free: 34.07 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006748/0.8104, allocations: 1.04 MB / 1.103 GB, free: 33.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001904/0.8106, allocations: 269.4 kB / 1.104 GB, free: 33.63 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.8107, allocations: 89 kB / 1.104 GB, free: 33.62 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.518e-05/0.8108, allocations: 344.9 kB / 1.104 GB, free: 33.31 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001533/0.8124, allocations: 0.617 MB / 1.105 GB, free: 33.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001823/0.8142, allocations: 1.012 MB / 1.106 GB, free: 32.87 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002668/0.8169, allocations: 1.312 MB / 1.107 GB, free: 32.54 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.8169, allocations: 2.531 kB / 1.107 GB, free: 32.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.008334/0.8252, allocations: 2.561 MB / 1.11 GB, free: 32.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.8253, allocations: 6.094 kB / 1.11 GB, free: 32.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.8253, allocations: 15.12 kB / 1.11 GB, free: 32.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001508/0.8268, allocations: 437.6 kB / 1.11 GB, free: 32.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.8279, allocations: 298.5 kB / 1.11 GB, free: 32.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/0.8297, allocations: 1.549 MB / 1.112 GB, free: 31.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003101/0.8328, allocations: 481.5 kB / 1.112 GB, free: 31.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/0.833, allocations: 64.17 kB / 1.112 GB, free: 31.02 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.0008455/0.8339, allocations: 461.5 kB / 1.113 GB, free: 30.89 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003554/0.8342, allocations: 250.4 kB / 1.113 GB, free: 30.77 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003177/0.8374, allocations: 1.548 MB / 1.114 GB, free: 30.49 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/0.8374, allocations: 12.36 kB / 1.114 GB, free: 30.49 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.8374, allocations: 7.312 kB / 1.114 GB, free: 30.48 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.8375, allocations: 3.984 kB / 1.114 GB, free: 30.48 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006569/0.844, allocations: 3.67 MB / 1.118 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.966e-06/0.8441, allocations: 3.094 kB / 1.118 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000573/0.8446, allocations: 142 kB / 1.118 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001366/0.846, allocations: 438 kB / 1.119 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-05/0.8461, allocations: 25.45 kB / 1.119 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002155/0.8483, allocations: 1.632 MB / 1.12 GB, free: 27.67 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.8483, allocations: 6.75 kB / 1.12 GB, free: 27.67 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005554/0.8538, allocations: 2.087 MB / 1.122 GB, free: 26.84 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/0.8549, allocations: 486.1 kB / 1.123 GB, free: 26.54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003093/0.8552, allocations: 17.34 kB / 1.123 GB, free: 26.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001687/0.8569, allocations: 200.7 kB / 1.123 GB, free: 26.46 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.653e-05/0.857, allocations: 62.2 kB / 1.123 GB, free: 26.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.897e-05/0.8571, allocations: 41.97 kB / 1.123 GB, free: 26.43 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002589/0.8597, allocations: 1.772 MB / 1.125 GB, free: 26.01 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8597, allocations: 0 / 1.125 GB, free: 26.01 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001773/0.8615, allocations: 0.6606 MB / 1.125 GB, free: 25.92 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.006447/0.8679, allocations: 3.093 MB / 1.128 GB, free: 24.43 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003758/0.8717, allocations: 1.421 MB / 1.13 GB, free: 24.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.8717, allocations: 4.062 kB / 1.13 GB, free: 24.16 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0021/0.8738, allocations: 0.7285 MB / 1.131 GB, free: 23.59 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006823/0.8806, allocations: 1.336 MB / 1.132 GB, free: 22.51 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03558/0.9162, allocations: 19.76 MB / 1.151 GB, free: 4.621 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007178/0.917, allocations: 1.487 MB / 1.153 GB, free: 3.121 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001917/0.9189, allocations: 444.5 kB / 1.153 GB, free: 2.684 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009789/0.9199, allocations: 0.9043 MB / 1.154 GB, free: 2.453 MB / 0.698 GB Notification: Performance of SimCode: time 6.61e-07/0.9199, allocations: 0 / 1.154 GB, free: 2.453 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7464/1.666, allocations: 68.91 MB / 1.221 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003484/1.667, allocations: 285.9 kB / 1.221 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.118/5.785, allocations: 0 / 1.221 GB, free: 13.99 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)