Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",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.453/1.453, allocations: 252 MB / 267 MB, free: 10.97 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.001216/0.001215, allocations: 182.2 kB / 326.6 MB, free: 2.223 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.906/1.906, allocations: 205.4 MB / 0.5777 GB, free: 20.55 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.000896/0.0008961, allocations: 92.33 kB / 0.6823 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003507, allocations: 15.88 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2128, allocations: 106.3 MB / 0.9003 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1017/0.3146, allocations: 122.2 MB / 1.02 GB, free: 5.645 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.03261/0.3473, allocations: 21.51 MB / 1.041 GB, free: 88 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005319/0.3527, allocations: 103.3 kB / 1.041 GB, free: 15.98 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004412/0.3571, allocations: 0.9934 MB / 1.042 GB, free: 14.98 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01088/0.3681, allocations: 3.142 MB / 1.045 GB, free: 11.83 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005696/0.3738, allocations: 1.547 MB / 1.046 GB, free: 10.3 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01085/0.3846, allocations: 7.171 MB / 1.053 GB, free: 3.109 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00395/0.3886, allocations: 1.656 MB / 1.055 GB, free: 1.422 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5035/0.8922, allocations: 2.122 MB / 1.057 GB, free: 46.73 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003374/0.8956, allocations: 1.69 MB / 1.059 GB, free: 46.73 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005836/0.8962, allocations: 91.66 kB / 1.059 GB, free: 46.73 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00431/0.9006, allocations: 1.188 MB / 1.06 GB, free: 46.73 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005615/0.9011, allocations: 420.6 kB / 1.06 GB, free: 46.73 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001195/0.9023, allocations: 0.5513 MB / 1.061 GB, free: 46.7 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00545/0.9078, allocations: 3.113 MB / 1.064 GB, free: 46.59 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.9078, allocations: 0 / 1.064 GB, free: 46.59 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.655e-06/0.9078, allocations: 0 / 1.064 GB, free: 46.59 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001301/0.908, allocations: 0 / 1.064 GB, free: 46.59 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.007802/0.9158, allocations: 2.703 MB / 1.067 GB, free: 45.19 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.9159, allocations: 11.06 kB / 1.067 GB, free: 45.19 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007255/0.9166, allocations: 220.8 kB / 1.067 GB, free: 45.14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005643/0.9222, allocations: 0.9574 MB / 1.068 GB, free: 44.99 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006832/0.9291, allocations: 2.183 MB / 1.07 GB, free: 44.51 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001211/0.9304, allocations: 327.1 kB / 1.07 GB, free: 44.48 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007875/0.9312, allocations: 163.7 kB / 1.07 GB, free: 44.48 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005875/0.9371, allocations: 1.965 MB / 1.072 GB, free: 44.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.579e-05/0.9371, allocations: 11.05 kB / 1.072 GB, free: 44.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001866/0.9373, allocations: 62.09 kB / 1.072 GB, free: 44.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-05/0.9374, allocations: 37.59 kB / 1.072 GB, free: 44.25 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006224/0.9436, allocations: 1.901 MB / 1.074 GB, free: 44.2 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.01696/0.9606, allocations: 9.093 MB / 1.083 GB, free: 39.89 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004878/0.9655, allocations: 1.294 MB / 1.084 GB, free: 39.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001412/0.967, allocations: 480 kB / 1.085 GB, free: 39.78 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00115/0.9682, allocations: 1.727 MB / 1.086 GB, free: 37.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.163e-05/0.9682, allocations: 40.28 kB / 1.086 GB, free: 37.77 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 4.919e-06/0.9683, allocations: 3.5 kB / 1.086 GB, free: 37.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.01043/0.9787, allocations: 2.502 MB / 1.089 GB, free: 37.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.71e-05/0.9788, allocations: 97.81 kB / 1.089 GB, free: 37.21 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005509/0.9844, allocations: 2.514 MB / 1.091 GB, free: 36.96 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002595/0.9846, allocations: 47.48 kB / 1.092 GB, free: 36.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009084/0.9856, allocations: 1.059 MB / 1.093 GB, free: 36.66 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003119/0.9859, allocations: 272.1 kB / 1.093 GB, free: 36.49 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.08e-05/0.986, allocations: 19.91 kB / 1.093 GB, free: 36.49 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.843e-05/0.9861, allocations: 346.5 kB / 1.093 GB, free: 36.19 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001727/0.9878, allocations: 0.6129 MB / 1.094 GB, free: 36.17 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00197/0.9898, allocations: 1.004 MB / 1.095 GB, free: 35.75 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/0.9916, allocations: 0.678 MB / 1.095 GB, free: 35.71 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.9916, allocations: 0 / 1.095 GB, free: 35.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.005447/0.9971, allocations: 1.94 MB / 1.097 GB, free: 35.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.9971, allocations: 7.031 kB / 1.097 GB, free: 35.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.9971, allocations: 7.188 kB / 1.097 GB, free: 35.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001965/0.9991, allocations: 0.5074 MB / 1.098 GB, free: 35.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/1, allocations: 301.1 kB / 1.098 GB, free: 35.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/1.002, allocations: 1.562 MB / 1.1 GB, free: 34.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003835/1.006, allocations: 480.4 kB / 1.1 GB, free: 34.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002155/1.007, allocations: 57.88 kB / 1.1 GB, free: 34.22 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 (108): * Single equations (assignments): 106 * 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 14,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.00128/1.008, allocations: 462.5 kB / 1.101 GB, free: 34.11 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006641/1.009, allocations: 246.9 kB / 1.101 GB, free: 33.98 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004876/1.013, allocations: 1.553 MB / 1.102 GB, free: 33.82 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.849e-05/1.013, allocations: 13.41 kB / 1.102 GB, free: 33.82 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/1.014, allocations: 1.094 kB / 1.102 GB, free: 33.82 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.627e-05/1.014, allocations: 7.234 kB / 1.102 GB, free: 33.82 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01023/1.024, allocations: 3.683 MB / 1.106 GB, free: 33.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/1.024, allocations: 2.188 kB / 1.106 GB, free: 33.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006193/1.024, allocations: 130.2 kB / 1.106 GB, free: 33.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002008/1.026, allocations: 0.5081 MB / 1.107 GB, free: 33.15 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.945e-05/1.027, allocations: 27.73 kB / 1.107 GB, free: 33.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002635/1.029, allocations: 1.64 MB / 1.108 GB, free: 32.08 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.215e-06/1.029, allocations: 9.703 kB / 1.108 GB, free: 32.08 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006901/1.036, allocations: 2.076 MB / 1.11 GB, free: 31.55 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001981/1.038, allocations: 0.5082 MB / 1.111 GB, free: 31.32 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009718/1.039, allocations: 18.59 kB / 1.111 GB, free: 31.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002659/1.042, allocations: 194.1 kB / 1.111 GB, free: 31.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/1.042, allocations: 53.67 kB / 1.111 GB, free: 31.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001516/1.042, allocations: 45.75 kB / 1.111 GB, free: 31.29 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.004092/1.046, allocations: 1.774 MB / 1.113 GB, free: 31.14 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.01e-07/1.046, allocations: 4 kB / 1.113 GB, free: 31.13 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003395/1.05, allocations: 0.6538 MB / 1.113 GB, free: 31.06 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 (62): * Single equations (assignments): 52 * 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 16,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.008137/1.058, allocations: 3.088 MB / 1.116 GB, free: 29.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004697/1.063, allocations: 1.396 MB / 1.118 GB, free: 29.86 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/1.063, allocations: 3.25 kB / 1.118 GB, free: 29.86 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002543/1.065, allocations: 0.7405 MB / 1.119 GB, free: 29.82 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008639/1.074, allocations: 1.29 MB / 1.12 GB, free: 29.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04175/1.116, allocations: 15 MB / 1.134 GB, free: 21.85 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0014/1.117, allocations: 1.493 MB / 1.136 GB, free: 20.49 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002635/1.12, allocations: 436 kB / 1.136 GB, free: 20.06 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00145/1.121, allocations: 0.8993 MB / 1.137 GB, free: 19.84 MB / 0.698 GB Notification: Performance of SimCode: time 8.71e-07/1.121, allocations: 0 / 1.137 GB, free: 19.84 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1216/1.243, allocations: 68.6 MB / 1.204 GB, free: 128 kB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/1.243, allocations: 271.6 kB / 1.204 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.55/5.793, allocations: 10.22 kB / 1.204 GB, free: 15.76 MB / 0.7605 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)