Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",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.000777/0.0007771, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008011/0.0008012, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.872/1.872, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0006082/0.0006084, allocations: 11.59 kB / 0.6738 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2885, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1313/0.4198, allocations: 122.2 MB / 0.9068 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.5525/0.9723, allocations: 21.58 MB / 0.9278 GB, free: 45.24 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006033/0.9784, allocations: 104.8 kB / 0.9279 GB, free: 45.24 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004825/0.9833, allocations: 1.002 MB / 0.9289 GB, free: 45.22 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0138/0.9971, allocations: 3.135 MB / 0.932 GB, free: 45.1 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00635/1.003, allocations: 1.559 MB / 0.9335 GB, free: 45.05 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01379/1.017, allocations: 7.157 MB / 0.9405 GB, free: 44.31 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005552/1.023, allocations: 1.653 MB / 0.9421 GB, free: 44.01 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008539/1.031, allocations: 2.163 MB / 0.9442 GB, free: 43.43 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005108/1.037, allocations: 1.683 MB / 0.9459 GB, free: 43.03 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001039/1.038, allocations: 92.66 kB / 0.946 GB, free: 43.03 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006699/1.044, allocations: 1.225 MB / 0.9471 GB, free: 42.88 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001356/1.046, allocations: 417.9 kB / 0.9475 GB, free: 42.77 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002483/1.048, allocations: 0.5549 MB / 0.9481 GB, free: 42.66 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006965/1.055, allocations: 3.142 MB / 0.9512 GB, free: 42.4 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/1.055, allocations: 1.062 kB / 0.9512 GB, free: 42.4 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.715e-06/1.055, allocations: 0 / 0.9512 GB, free: 42.4 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001864/1.056, allocations: 0 / 0.9512 GB, free: 42.4 MB / 0.7169 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.008892/1.064, allocations: 2.718 MB / 0.9538 GB, free: 40.93 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/1.065, allocations: 9.938 kB / 0.9538 GB, free: 40.93 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008481/1.065, allocations: 220.3 kB / 0.954 GB, free: 40.88 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005695/1.071, allocations: 0.952 MB / 0.955 GB, free: 40.7 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007473/1.079, allocations: 2.191 MB / 0.9571 GB, free: 40.17 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001178/1.08, allocations: 327.2 kB / 0.9574 GB, free: 40.14 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001113/1.081, allocations: 160.9 kB / 0.9576 GB, free: 40.14 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01053/1.092, allocations: 1.973 MB / 0.9595 GB, free: 39.83 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001311/1.092, allocations: 5.547 kB / 0.9595 GB, free: 39.83 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007099/1.092, allocations: 60.97 kB / 0.9596 GB, free: 39.83 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.35e-05/1.093, allocations: 36.5 kB / 0.9596 GB, free: 39.83 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005959/1.099, allocations: 1.903 MB / 0.9615 GB, free: 39.48 MB / 0.7169 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.01647/1.115, allocations: 9.127 MB / 0.9704 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003996/1.119, allocations: 1.293 MB / 0.9716 GB, free: 33.29 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/1.12, allocations: 488.5 kB / 0.9721 GB, free: 33.19 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008564/1.121, allocations: 1.725 MB / 0.9738 GB, free: 31.19 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/1.121, allocations: 39.94 kB / 0.9738 GB, free: 31.15 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.815e-06/1.121, allocations: 0 / 0.9738 GB, free: 31.15 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.008419/1.13, allocations: 2.499 MB / 0.9763 GB, free: 30.23 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/1.13, allocations: 87.67 kB / 0.9763 GB, free: 30.13 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00735/1.137, allocations: 2.518 MB / 0.9788 GB, free: 29.5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003763/1.137, allocations: 45.61 kB / 0.9788 GB, free: 29.47 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001347/1.139, allocations: 1.053 MB / 0.9799 GB, free: 29.11 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004621/1.139, allocations: 276.2 kB / 0.9801 GB, free: 28.92 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/1.139, allocations: 25.28 kB / 0.9802 GB, free: 28.91 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001235/1.14, allocations: 345.5 kB / 0.9805 GB, free: 28.6 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001812/1.141, allocations: 0.6275 MB / 0.9811 GB, free: 28.47 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002188/1.144, allocations: 1.005 MB / 0.9821 GB, free: 27.82 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001804/1.145, allocations: 0.6913 MB / 0.9828 GB, free: 27.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/1.145, allocations: 2.969 kB / 0.9828 GB, free: 27.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005536/1.151, allocations: 1.964 MB / 0.9847 GB, free: 26.55 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.901e-05/1.151, allocations: 13.62 kB / 0.9847 GB, free: 26.55 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/1.151, allocations: 7 kB / 0.9847 GB, free: 26.55 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00191/1.153, allocations: 0.4959 MB / 0.9852 GB, free: 26.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/1.154, allocations: 302.5 kB / 0.9855 GB, free: 26.22 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001893/1.156, allocations: 1.564 MB / 0.987 GB, free: 24.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003464/1.159, allocations: 490.6 kB / 0.9875 GB, free: 24.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002241/1.16, allocations: 59.81 kB / 0.9875 GB, free: 24.66 MB / 0.7169 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 (111): * Single equations (assignments): 109 * 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.001295/1.161, allocations: 458.5 kB / 0.988 GB, free: 24.34 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008155/1.162, allocations: 255.2 kB / 0.9882 GB, free: 24.2 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003924/1.166, allocations: 1.551 MB / 0.9897 GB, free: 23.35 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-05/1.166, allocations: 10.06 kB / 0.9897 GB, free: 23.35 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/1.166, allocations: 0 / 0.9897 GB, free: 23.35 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/1.166, allocations: 6.703 kB / 0.9897 GB, free: 23.34 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00849/1.174, allocations: 3.707 MB / 0.9934 GB, free: 20.87 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/1.174, allocations: 3.031 kB / 0.9934 GB, free: 20.87 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000585/1.175, allocations: 131.3 kB / 0.9935 GB, free: 20.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001608/1.177, allocations: 0.5105 MB / 0.994 GB, free: 20.57 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-05/1.177, allocations: 21.83 kB / 0.994 GB, free: 20.56 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002189/1.179, allocations: 1.639 MB / 0.9956 GB, free: 19.11 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/1.179, allocations: 7.938 kB / 0.9956 GB, free: 19.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005437/1.184, allocations: 2.077 MB / 0.9976 GB, free: 16.98 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001669/1.186, allocations: 0.5092 MB / 0.9981 GB, free: 16.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009828/1.187, allocations: 24.19 kB / 0.9982 GB, free: 16.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002858/1.19, allocations: 195.7 kB / 0.9983 GB, free: 16.24 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/1.19, allocations: 63.75 kB / 0.9984 GB, free: 16.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001439/1.19, allocations: 43.97 kB / 0.9984 GB, free: 16.13 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.004686/1.195, allocations: 1.769 MB / 1 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.81e-07/1.195, allocations: 0 / 1 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003411/1.198, allocations: 0.6788 MB / 1.001 GB, free: 13.68 MB / 0.7169 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.007545/1.206, allocations: 3.087 MB / 1.004 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004047/1.21, allocations: 1.443 MB / 1.005 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-05/1.21, allocations: 4 kB / 1.005 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00215/1.212, allocations: 0.7316 MB / 1.006 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008575/1.221, allocations: 1.288 MB / 1.007 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03998/1.261, allocations: 15.08 MB / 1.022 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001609/1.262, allocations: 1.496 MB / 1.023 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002879/1.265, allocations: 436 kB / 1.024 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001629/1.267, allocations: 0.9053 MB / 1.025 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of SimCode: time 1.102e-06/1.267, allocations: 0 / 1.025 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1509/1.418, allocations: 69.09 MB / 1.092 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002169/1.418, allocations: 260 kB / 1.092 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.117/5.535, allocations: 0 / 1.092 GB, free: 15.53 MB / 0.8106 GB (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) Environment - environmentSimulation: