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.0008664/0.0008664, allocations: 84.38 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.000978/0.000978, 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.589/1.589, 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.795/1.795, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005412/0.0005412, allocations: 18.19 kB / 0.6738 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2638, allocations: 116.3 MB / 0.7874 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.116/0.3798, allocations: 122.2 MB / 0.9067 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.5983/0.9781, allocations: 21.57 MB / 0.9278 GB, free: 45.47 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00534/0.9835, allocations: 105 kB / 0.9279 GB, free: 45.47 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00436/0.9879, allocations: 1.003 MB / 0.9289 GB, free: 45.45 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01166/0.9996, allocations: 3.134 MB / 0.932 GB, free: 45.33 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006145/1.006, allocations: 1.555 MB / 0.9335 GB, free: 45.28 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01283/1.019, allocations: 7.155 MB / 0.9405 GB, free: 44.55 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005129/1.024, allocations: 1.656 MB / 0.9421 GB, free: 44.25 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007587/1.031, allocations: 2.157 MB / 0.9442 GB, free: 43.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00524/1.037, allocations: 1.677 MB / 0.9458 GB, free: 43.28 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001029/1.038, allocations: 96.12 kB / 0.9459 GB, free: 43.28 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007122/1.045, allocations: 1.224 MB / 0.9471 GB, free: 43.13 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001451/1.046, allocations: 418.7 kB / 0.9475 GB, free: 43.02 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002427/1.049, allocations: 0.5536 MB / 0.948 GB, free: 42.91 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007213/1.056, allocations: 3.144 MB / 0.9511 GB, free: 42.65 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.337e-06/1.056, allocations: 0 / 0.9511 GB, free: 42.65 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.566e-06/1.056, allocations: 1.281 kB / 0.9511 GB, free: 42.65 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0002118/1.056, allocations: 0 / 0.9511 GB, free: 42.65 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.009934/1.066, allocations: 2.713 MB / 0.9538 GB, free: 41.18 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/1.066, allocations: 9.312 kB / 0.9538 GB, free: 41.18 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001025/1.067, allocations: 221.2 kB / 0.954 GB, free: 41.13 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005235/1.073, allocations: 0.955 MB / 0.9549 GB, free: 40.95 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007227/1.08, allocations: 2.202 MB / 0.9571 GB, free: 40.43 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009433/1.081, allocations: 327.1 kB / 0.9574 GB, free: 40.4 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006817/1.081, allocations: 164 kB / 0.9575 GB, free: 40.4 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005574/1.087, allocations: 1.972 MB / 0.9595 GB, free: 40.03 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.466e-05/1.087, allocations: 9.578 kB / 0.9595 GB, free: 40.03 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000242/1.087, allocations: 66 kB / 0.9595 GB, free: 40.02 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.971e-05/1.087, allocations: 37.66 kB / 0.9596 GB, free: 40.02 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004894/1.092, allocations: 1.882 MB / 0.9614 GB, free: 39.68 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.01535/1.108, allocations: 9.105 MB / 0.9703 GB, free: 33.82 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003901/1.112, allocations: 1.29 MB / 0.9716 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/1.113, allocations: 476.9 kB / 0.972 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008539/1.114, allocations: 1.72 MB / 0.9737 GB, free: 31.4 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/1.114, allocations: 49.02 kB / 0.9737 GB, free: 31.36 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 3.086e-06/1.114, allocations: 0 / 0.9737 GB, free: 31.36 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.007909/1.122, allocations: 2.495 MB / 0.9762 GB, free: 30.44 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/1.122, allocations: 88.42 kB / 0.9763 GB, free: 30.34 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005363/1.127, allocations: 2.494 MB / 0.9787 GB, free: 29.71 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002346/1.127, allocations: 42.3 kB / 0.9787 GB, free: 29.68 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001013/1.128, allocations: 1.05 MB / 0.9798 GB, free: 29.32 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000364/1.129, allocations: 264.7 kB / 0.98 GB, free: 29.13 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/1.129, allocations: 21.91 kB / 0.98 GB, free: 29.13 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.296e-05/1.129, allocations: 345.2 kB / 0.9804 GB, free: 28.82 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001672/1.131, allocations: 0.6289 MB / 0.981 GB, free: 28.63 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001921/1.133, allocations: 1.014 MB / 0.982 GB, free: 27.88 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001687/1.134, allocations: 0.6873 MB / 0.9826 GB, free: 27.57 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/1.134, allocations: 3.281 kB / 0.9826 GB, free: 27.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005657/1.14, allocations: 1.964 MB / 0.9846 GB, free: 26.62 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.537e-05/1.14, allocations: 10.03 kB / 0.9846 GB, free: 26.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-05/1.14, allocations: 6.625 kB / 0.9846 GB, free: 26.62 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001683/1.142, allocations: 440 kB / 0.985 GB, free: 26.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/1.143, allocations: 315.9 kB / 0.9853 GB, free: 26.31 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/1.145, allocations: 1.546 MB / 0.9868 GB, free: 25.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003605/1.149, allocations: 486 kB / 0.9873 GB, free: 24.78 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001987/1.149, allocations: 58.47 kB / 0.9873 GB, free: 24.77 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 (112): * Single equations (assignments): 110 * 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 13,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.001122/1.15, allocations: 459.8 kB / 0.9878 GB, free: 24.44 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007533/1.151, allocations: 252.6 kB / 0.988 GB, free: 24.31 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003628/1.154, allocations: 1.552 MB / 0.9895 GB, free: 23.45 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.287e-05/1.154, allocations: 10.03 kB / 0.9895 GB, free: 23.45 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/1.154, allocations: 0 / 0.9895 GB, free: 23.45 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/1.154, allocations: 3.984 kB / 0.9895 GB, free: 23.45 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007611/1.162, allocations: 3.68 MB / 0.9931 GB, free: 21 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/1.162, allocations: 6.562 kB / 0.9931 GB, free: 21 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005686/1.163, allocations: 138.2 kB / 0.9933 GB, free: 20.95 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00143/1.164, allocations: 440.2 kB / 0.9937 GB, free: 20.73 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.127e-05/1.164, allocations: 32.16 kB / 0.9937 GB, free: 20.71 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002168/1.166, allocations: 1.622 MB / 0.9953 GB, free: 19.39 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/1.166, allocations: 7.438 kB / 0.9953 GB, free: 19.39 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00529/1.172, allocations: 2.07 MB / 0.9973 GB, free: 17.29 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001425/1.173, allocations: 0.5015 MB / 0.9978 GB, free: 16.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000777/1.174, allocations: 20 kB / 0.9978 GB, free: 16.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002075/1.176, allocations: 201 kB / 0.998 GB, free: 16.55 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.38e-05/1.176, allocations: 63.81 kB / 0.9981 GB, free: 16.49 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/1.176, allocations: 43.97 kB / 0.9981 GB, free: 16.45 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003062/1.179, allocations: 1.746 MB / 0.9998 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.382e-06/1.179, allocations: 0 / 0.9998 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002622/1.182, allocations: 0.6788 MB / 1.001 GB, free: 14.02 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 (63): * Single equations (assignments): 53 * 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 15,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.00645/1.188, allocations: 3.089 MB / 1.004 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003659/1.192, allocations: 1.437 MB / 1.005 GB, free: 9.508 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/1.192, allocations: 0 / 1.005 GB, free: 9.508 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002004/1.194, allocations: 0.7239 MB / 1.006 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008067/1.202, allocations: 1.286 MB / 1.007 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04015/1.242, allocations: 14.98 MB / 1.022 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001831/1.244, allocations: 1.494 MB / 1.023 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002949/1.247, allocations: 440.5 kB / 1.023 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001859/1.249, allocations: 0.8937 MB / 1.024 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of SimCode: time 3.316e-06/1.249, allocations: 0 / 1.024 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1346/1.384, allocations: 68.81 MB / 1.091 GB, free: 0.5977 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/1.384, allocations: 244.9 kB / 1.092 GB, free: 276 kB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.081/5.465, allocations: 0 / 1.092 GB, free: 276 kB / 0.795 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/linux/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) Environment - environmentSimulation: